Age | Commit message (Collapse) | Author |
|
|
|
|
|
This makes capabilities available to service_info as soon as
capabilities exchange has been completed. In particular, before state
OKAY is reached.
|
|
To retrieve service_opt() values. Don't document it yet.
|
|
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.
|
|
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.
|
|
* anders/diameter/service_info/OTP-10460:
Don't call service process for service_info
|
|
* anders/diameter/failover_error/OTP-10461:
Add missing clause for peer failover
|
|
* anders/diameter/event_timing/OTP-10459:
Send up event *after* inserting peer in table
|
|
* anders/diameter/watchdog_timeout/OTP-10444:
Exit peer_fsm with {shutdown, watchdog_timeout}, not shutdown
|
|
* 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
|
|
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.
|
|
So that the function is usable when we're already in the service
process. For example, in peer_up/peer_down callbacks.
|
|
diameter_codec:sequence_numbers/1 is called on an already extracted pair
of sequence numbers in the case of failover.
|
|
Otherwise a request in response to an event can return error due to the
peer not yet having been inserted.
|
|
{invalid, K, V} was never matched. Return full reason, not just an
atom.
|
|
Documentation (correctly) say {'Origin-State-Id', Unsigned32()},
code (incorrectly) expected {'Origin-State-Id', [Unsigned32()]}.
|
|
This was a remnant of the time when sasl interpreted everything but
shutdown or normal as a crash.
|
|
* anders/diameter/avp_errors/OTP-10202:
Add a testcase
Fix answer-message blunder
|
|
|
|
|
|
* anders/diameter/R15B02_release:
Dialyzer spec fix
OTP-10243
|
|
|
|
* anders/diameter/service_info/OTP-10213:
Minor counting fix
Tweak info presentation
Fix missing transport service_info when there are no watchdogs
|
|
* anders/diameter/multiple_transport_modules/OTP-9885:
Dialyzer spec fixes
|
|
|
|
|
|
* 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
|
|
* 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
|
|
* anders/diameter/watchdog_events/OTP-10212:
Minor spec fix
Maintain watchdog states in service_info
Add events for watchdog state transitions
|
|
* anders/diameter/statistics/OTP-9608:
Improve statistics test cases
Statistics fixes
|
|
* anders/diameter/capabilities_encode/OTP-10203:
Deal with the fact that capabilities config may be incomplete
|
|
* 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
|
|
* 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
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
This would previously have resulted in all of a service's connections
going down, especially bad for a server.
|
|
To make for easier adding of future options. The record is only passed
into transport modules so the only compatibility issue is with these.
(No issue for diameter_{tcp,sctp} and unlikely but theoretically
possible for any other implementations, which probably don't exist at
this point.)
|
|
|
|
These provide alternates to 'transport' that group information, and
present statistics, per transport established transport connection and
peer Origin-Host instead of per reference returned by
diameter:add_transport/2.
|
|
|
|
|
|
|
|
Statistics are deleted as a consequence of diameter:remove_transport/2.
|
|
A transport can be configured before its service so handle
insufficient configuration instead of crashing at CER/CEA encode.
|