aboutsummaryrefslogtreecommitdiffstats
path: root/lib/diameter
AgeCommit message (Collapse)Author
2012-11-15Add simple DPR suiteAnders Svensson
2012-11-15Correct diameter:remove_transport/2 docAnders Svensson
Error can be returned if the service process goes down while remove_transport is ongoing.
2012-11-15Fix broken doc linkAnders Svensson
Broken in commit e28ced7b.
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-15Document transport_opt() disconnect_cbAnders Svensson
Callback makes sending of DPR configurable.
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-05Document peer_ref() service_infoAnders Svensson
2012-11-05Use peer_ref() service_info in traffic suiteAnders Svensson
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-05Use multiple connections in traffic suiteAnders Svensson
2012-11-05Implement service_opt() restrict_connectionsAnders Svensson
2012-11-05Document service_opt() restrict_connectionsAnders Svensson
Configuration will allow relaxation of the guard against multiple transport connections to the same peer.
2012-11-05Redo watchdog test suiteAnders Svensson
It was broken by sequence masks and can be simplified using (the new-ish) watchdog events.
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-05Clarify diameter_transport docAnders Svensson
2012-11-05Remove pre-OTP configure supportAnders Svensson
It's neither used nor maintained.
2012-11-05Remove obsolete make targetAnders Svensson
There are plt/dialyze targets in src/Makefile.
2012-11-05Use sequence masks in test suitesAnders Svensson
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-05Document sequence masksAnders Svensson
Allow 32-bit Hop-by-Hop and End-to-End identifiers to be modified by replacing the topmost bits with a constant value. This allow services on different nodes to generate globally unique identifiers by having each node mask in its own constant.
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-09Use packet callbacks in traffic suiteAnders Svensson
2012-10-09Improve other diameter_app docAnders Svensson
2012-10-09Document eval_packetAnders Svensson
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-09-03Prepare releaseOTP_R15B02Erlang/OTP
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-31Add a testcaseAnders Svensson
2012-08-31Fix answer-message blunderAnders Svensson
2012-08-31Update copyright yearsBjörn-Egil Dahlberg
2012-08-30Merge branch 'anders/diameter/documentation/OTP-10216' into maintAnders Svensson
* anders/diameter/documentation/OTP-10216: Fix broken references Correct doc on AVP P flag and add warning about its deprecation Fix/tweak references to other applications Minor formatting fixes Add warning about 'host' filter Update diameterc doc Minor updates/corrections to Users Guide Add SCTP warning, more references Assorted doc improvements Document service info Document watchdog events Terminology and other clarifications, more references Clarify documentation on application state
2012-08-30Merge branch 'anders/diameter/R15B02_release' into maintAnders Svensson
* anders/diameter/R15B02_release: Dialyzer spec fix OTP-10243
2012-08-30Fix broken referencesAnders Svensson
2012-08-30Correct doc on AVP P flag and add warning about its deprecationAnders Svensson