aboutsummaryrefslogtreecommitdiffstats
path: root/lib/diameter/src
AgeCommit message (Collapse)Author
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
2012-08-28Merge branch 'anders/diameter/statistics/OTP-9608' into maintAnders Svensson
* anders/diameter/statistics/OTP-9608: Improve statistics test cases Statistics fixes
2012-08-28Merge branch 'anders/diameter/capabilities_encode/OTP-10203' into maintAnders Svensson
* anders/diameter/capabilities_encode/OTP-10203: Deal with the fact that capabilities config may be incomplete
2012-08-28Merge branch 'anders/diameter/avp_errors/OTP-10202' into maintAnders Svensson
* anders/diameter/avp_errors/OTP-10202: Allow an answer to opt out of setting Result-Code/Failed-AVP Set Result-Code as an optional AVP in reply to request containing errors Fix Destination-Host/Realm extraction for arbitrary dictionaries Fix result code statistics for arbitrary dictionaries Count incoming answers containing AVP decode errors Fix counter typo Encode fix
2012-08-28Merge branch 'anders/diameter/multiple_transport_modules/OTP-9885' into maintAnders Svensson
* anders/diameter/multiple_transport_modules/OTP-9885: Maintain service_info callback data in process dictionary Maintain pid of started transport process in process dictionary Minor spec and backwards compatibility fix Update example code Update documentation Add diameter_transport for transport start indirection Allow multiple transport_module and transport_config
2012-08-28Merge branch 'anders/diameter/R15B02_release' into maintAnders Svensson
* anders/diameter/R15B02_release: Update appup Add plt/dialyze targets to src/Makefile Add realclean target to src/Makefile Add any target to test/Makefile vsn -> 1.2
2012-08-28Tweak info presentationAnders Svensson
2012-08-28Fix missing transport service_info when there are no watchdogsAnders Svensson
2012-08-27Maintain service_info callback data in process dictionaryAnders Svensson
To be used by diameter_service in constructing service_info.
2012-08-27Include transport-specific service infoAnders Svensson
2012-08-27Maintain pid of started transport process in process dictionaryAnders Svensson
2012-08-26Update appupAnders Svensson
2012-08-26Add plt/dialyze targets to src/MakefileAnders Svensson
2012-08-26Minor spec and backwards compatibility fixAnders Svensson