aboutsummaryrefslogtreecommitdiffstats
path: root/lib/diameter/src
AgeCommit message (Collapse)Author
2012-11-18Merge branch 'anders/diameter/CEA_timeout/OTP-10554' into maintAnders Svensson
* anders/diameter/CEA_timeout/OTP-10554: Implement transport_opt() capx_timeout Document transport_opt() capx_timeout Minor doc fixes
2012-11-18Merge branch 'anders/diameter/identifier_checks/OTP-10565' into maintAnders Svensson
* anders/diameter/identifier_checks/OTP-10565: Add comment about lack of identifier checks on DWA Add check of End-to-End and Hop-by-Hop identfiers in received DPA Add check of End-to-End and Hop-by-Hop identfiers in received CEA
2012-11-18Merge branch 'anders/diameter/transport_data/OTP-10566' into maintAnders Svensson
* anders/diameter/transport_data/OTP-10566: Add a testcase Allow a handle_request callback to return a #diameter_packet{}
2012-11-18Merge branch 'anders/diameter/transport_shutdown/OTP-10493' into maintAnders Svensson
* anders/diameter/transport_shutdown/OTP-10493: Add simple DPR suite Correct diameter:remove_transport/2 doc Fix broken doc link Ensure watchdog dies with transport if DPR was sent Remove dead clause Implement transport_opt() disconnect_cb Document transport_opt() disconnect_cb
2012-11-16Add start/stop service_event()Anders Svensson
2012-11-15Implement transport_opt() capx_timeoutAnders Svensson
2012-11-15Add comment about lack of identifier checks on DWAAnders Svensson
2012-11-15Add check of End-to-End and Hop-by-Hop identfiers in received DPAAnders Svensson
2012-11-15Add check of End-to-End and Hop-by-Hop identfiers in received CEAAnders Svensson
2012-11-15Allow a handle_request callback to return a #diameter_packet{}Anders Svensson
This allows it to set transport_data and header, inappropriately so even.
2012-11-15Ensure watchdog dies with transport if DPR was sentAnders Svensson
A watchdog timeout after DPR but before DPA would previously result in the watchdog restarting the transport.
2012-11-15Remove dead clauseAnders Svensson
Long dead.
2012-11-15Implement transport_opt() disconnect_cbAnders Svensson
2012-11-08Merge branch 'anders/diameter/upgrade/OTP-10550' into maintAnders Svensson
* anders/diameter/upgrade/OTP-10550: Allow for no diameter on remote node in connection guard
2012-11-05Allow for no diameter on remote node in connection guardAnders Svensson
The guard is against a connection to a given peer already existing but fails if diameter is not running on a remote node. Note that the guard itself is to be made configurable in R15B03 (OTP-10493) to allow multiple connections per peer.
2012-11-05Add service_info for a peer_ref()Anders Svensson
This allows a diameter_app callback to retrieve the corresponding configuration as passed to diameter:add_transport/2.
2012-11-05Implement service_opt() restrict_connectionsAnders Svensson
2012-11-05Update/clarify some commentsAnders Svensson
2012-11-05Add reopen message from watchdogAnders Svensson
This makes capabilities available to service_info as soon as capabilities exchange has been completed. In particular, before state OKAY is reached.
2012-11-05Add options service_infoAnders Svensson
To retrieve service_opt() values. Don't document it yet.
2012-11-05Add diameter_reg:wait/1Anders Svensson
Mostly to use it in the watchdog test suite that's been broken by sequence masks. Do a bit of cleanup while we're at it.
2012-11-05Remove pre-OTP configure supportAnders Svensson
It's neither used nor maintained.
2012-11-05Implement sequence masksAnders Svensson
Code should be loaded in this order: diameter_session (sequence/1) diameter_peer_fsm (calls to sequence/1) diameter_service (sequence config, mask in receive_message/3) diameter_watchdog (mask in peer start and receive_message/3) diameter_config (accept sequence config) Order of diameter and diameter_peer doesn't matter.
2012-11-05Merge branch 'anders/diameter/service_info/OTP-10460' into maintAnders Svensson
* anders/diameter/service_info/OTP-10460: Don't call service process for service_info
2012-11-05Merge branch 'anders/diameter/failover_error/OTP-10461' into maintAnders Svensson
* anders/diameter/failover_error/OTP-10461: Add missing clause for peer failover
2012-11-05Merge branch 'anders/diameter/event_timing/OTP-10459' into maintAnders Svensson
* anders/diameter/event_timing/OTP-10459: Send up event *after* inserting peer in table
2012-11-05Merge branch 'anders/diameter/watchdog_timeout/OTP-10444' into maintAnders Svensson
* anders/diameter/watchdog_timeout/OTP-10444: Exit peer_fsm with {shutdown, watchdog_timeout}, not shutdown
2012-11-05Merge branch 'anders/diameter/packet_callback/OTP-10441' into maintAnders Svensson
* anders/diameter/packet_callback/OTP-10441: Use packet callbacks in traffic suite Improve other diameter_app doc Document eval_packet Add eval_packet for examining outgoing messages after encode
2012-10-09Add eval_packet for examining outgoing messages after encodeAnders Svensson
Both prepare_request/prepare_retransmit and handle_request can return {eval_packet, RC, PostF} where PostF will be evaluated on any encoded packet before transmission.
2012-10-09Don't call service process for service_infoAnders Svensson
So that the function is usable when we're already in the service process. For example, in peer_up/peer_down callbacks.
2012-10-04Add missing clause for peer failoverAnders Svensson
diameter_codec:sequence_numbers/1 is called on an already extracted pair of sequence numbers in the case of failover.
2012-10-01Send up event *after* inserting peer in tableAnders Svensson
Otherwise a request in response to an event can return error due to the peer not yet having been inserted.
2012-09-25Fix matching in case of erroneous capabilities configAnders Svensson
{invalid, K, V} was never matched. Return full reason, not just an atom.
2012-09-25Fix handling of Origin-State-Id configAnders Svensson
Documentation (correctly) say {'Origin-State-Id', Unsigned32()}, code (incorrectly) expected {'Origin-State-Id', [Unsigned32()]}.
2012-09-25Exit peer_fsm with {shutdown, watchdog_timeout}, not shutdownAnders Svensson
This was a remnant of the time when sasl interpreted everything but shutdown or normal as a crash.
2012-08-31Merge branch 'anders/diameter/avp_errors/OTP-10202' into maintAnders Svensson
* anders/diameter/avp_errors/OTP-10202: Add a testcase Fix answer-message blunder
2012-08-31Fix answer-message blunderAnders Svensson
2012-08-31Update copyright yearsBjörn-Egil Dahlberg
2012-08-30Merge branch 'anders/diameter/R15B02_release' into maintAnders Svensson
* anders/diameter/R15B02_release: Dialyzer spec fix OTP-10243
2012-08-30Dialyzer spec fixAnders Svensson
2012-08-29Merge branch 'anders/diameter/service_info/OTP-10213' into maintAnders Svensson
* anders/diameter/service_info/OTP-10213: Minor counting fix Tweak info presentation Fix missing transport service_info when there are no watchdogs
2012-08-29Merge branch 'anders/diameter/multiple_transport_modules/OTP-9885' into maintAnders Svensson
* anders/diameter/multiple_transport_modules/OTP-9885: Dialyzer spec fixes
2012-08-29Merge branch 'anders/diameter/R15B02_release' into maintAnders Svensson
* anders/diameter/R15B02_release: Dialyzer spec fix Learn to keep time in diameter_gen_sctp_SUITE Update command line test for changed ct:run_test/1 return value OTP-10243
2012-08-29Dialyzer spec fixesAnders Svensson
2012-08-29Dialyzer spec fixAnders Svensson
2012-08-28Minor counting fixAnders Svensson
2012-08-28Merge branch 'anders/diameter/sctp_peeloff/OTP-9611' into maintAnders Svensson
* anders/diameter/sctp_peeloff/OTP-9611: Use gen_sctp:peeloff/2 to transfer association ownership
2012-08-28Merge branch 'anders/diameter/callback_isolation/OTP-10215' into maintAnders Svensson
* anders/diameter/callback_isolation/OTP-10215: Don't let peer_up/peer_down take down the service process Turn last field of #diameter_app{} into an options list
2012-08-28Merge branch 'anders/diameter/service_info/OTP-10213' into maintAnders Svensson
* anders/diameter/service_info/OTP-10213: Include transport-specific service info Make service_info behave with nested item lists and non-atoms Add 'connections' and 'peers' service_info
2012-08-28Merge branch 'anders/diameter/watchdog_events/OTP-10212' into maintAnders Svensson
* anders/diameter/watchdog_events/OTP-10212: Minor spec fix Maintain watchdog states in service_info Add events for watchdog state transitions