summaryrefslogtreecommitdiff
path: root/lib/diameter
Commit message (Collapse)AuthorAgeFilesLines
* Update release notesErlang/OTP2018-03-091-0/+26
|
* Merge branch 'anders/diameter/20.3/OTP-14946' into maintAnders Svensson2018-03-064-17/+18
|\ | | | | | | | | | | | | | | * anders/diameter/20.3/OTP-14946: vsn -> 2.1.4 Update appup for 20.3 Update service_info examples in doc Fix inaccurate comment
| * vsn -> 2.1.4Anders Svensson2018-03-051-2/+2
| |
| * Update appup for 20.3Anders Svensson2018-03-051-7/+8
| |
| * Update service_info examples in docAnders Svensson2018-03-051-7/+7
| | | | | | | | | | | | Timestamps have been monotonic time since OTP-17.5. See commit e6d19a18. The examples should really be replaced by more detailed doc of return values.
| * Fix inaccurate commentAnders Svensson2018-03-051-1/+1
| | | | | | | | | | | | A peer_fsm process can be started long before a connection is established in the listening case. The time reported in a 'peer' tuple in service_info is of connection establishment.
* | Merge branch 'anders/diameter/terminate/ERIERL-124' into maintAnders Svensson2018-03-051-5/+15
|\ \ | | | | | | | | | | | | * anders/diameter/terminate/ERIERL-124: Fix handling of SUSPECT connections at service termination
| * | Fix handling of SUSPECT connections at service terminationAnders Svensson2018-02-011-5/+15
| |/ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | A peer connection in watchdog state SUSPECT is represented by a peer table entry in diameter_service, but not by a request table entry in diameter_peer, so diameter_service:terminate/2 could result in failures like this: exception error: no match of right hand side value [] in function diameter_traffic:peer_down/1 (base/diameter_traffic.erl, line 141) in call from lists:foldl/3 (lists.erl, line 1263) in call from ets:do_foldl/4 (ets.erl, line 611) in call from ets:foldl/3 (ets.erl, line 600) in call from diameter_service:terminate/2 (base/diameter_service.erl, line 557) in call from gen_server:try_terminate/3 (gen_server.erl, line 648) in call from gen_server:terminate/10 (gen_server.erl, line 833) in call from gen_server:handle_msg/6 (gen_server.erl, line 679)
* | Merge branch 'anders/diameter/reg/OTP-14839' into maintAnders Svensson2018-03-051-6/+11
|\ \ | |/ |/| | | | | * anders/diameter/reg/OTP-14839: Fix diameter_reg:subscribe/2 remove notification
| * Fix diameter_reg:subscribe/2 remove notificationAnders Svensson2017-12-151-6/+11
| | | | | | | | | | | | | | | | | | Commit fae8ca0c broke notification by removing table elements before matching for them, causing diameter_tcp/sctp listening processes to live on after diameter:remove_transport/2. Commit 58091992 added diameter_reg:subscribe/2, and commit 5ca5fb71 started using it for listener exit.
* | Update release notesErlang/OTP2017-12-081-0/+16
| |
* | vsn -> 2.1.3Anders Svensson2017-12-041-1/+1
| |
* | Update appup for 20.2Anders Svensson2017-12-041-2/+4
| | | | | | | | Only change is doc.
* | Fix doc typoAnders Svensson2017-12-041-1/+1
|/
* Update release notesErlang/OTP2017-10-251-0/+17
|
* Merge branch 'anders/diameter/decode/OTP-14684' into maint-20Erlang/OTP2017-10-252-3/+6
|\ | | | | | | | | | | * anders/diameter/decode/OTP-14684: vsn -> 2.1.2 Update appup for ERIERL-14684
| * vsn -> 2.1.2Anders Svensson2017-10-131-1/+1
| |
| * Update appup for ERIERL-14684Anders Svensson2017-10-131-2/+5
| |
* | Fix error handling when decoding an AVP with an alternate dictionaryAnders Svensson2017-10-141-4/+6
| | | | | | | | | | The options map wasn't updated after the AVP was identified, with the resulting consequences for M-bit interpretation.
* | Remove unused function argumentsAnders Svensson2017-10-131-16/+16
| | | | | | | | Which may have been used in the past, but aren't now.
* | Fix faulty recursionAnders Svensson2017-10-131-1/+1
|/ | | | | | | The wrong variable was passed into the decode recursion, causing the options map to be contaminated by strict_mbit and failed_avp modifications that should only apply to component AVPs in the Grouped case. Decode errors and M-bits could be ignored as a result.
* Update release notesErlang/OTP2017-10-091-0/+17
|
* vsn -> 2.1.1Anders Svensson2017-10-051-1/+1
|
* Update appup and code_change for ERIERL-83Anders Svensson2017-10-052-2/+9
|
* Fix missing monitor in diameter_regAnders Svensson2017-10-052-2/+15
| | | | | | | | | Commit fae8ca0c inadvertently removed the monitor at add/1 and add_new/1. As a result, process death did not remove associations, causing table diameter_reg to leak entries and stop/start of a service to fail. Add a testcase to detect the problem, which existing testcases miss.
* Update release notesErlang/OTP2017-09-221-0/+202
|
* Merge branch 'anders/diameter/doc/OTP-14561' into maintAnders Svensson2017-09-212-18/+87
|\ | | | | | | | | * anders/diameter/doc/OTP-14561: Document new(ish) options in diameter_tcp/sctp
| * Document new(ish) options in diameter_tcp/sctpAnders Svensson2017-09-202-19/+88
| | | | | | | | | | See commits d3829525 (unordered), c591056b (packet), eadf4efc (sender), 636a7199 (tcp message_cb), 373cd07c (sctp message_cb)
* | Merge branch 'anders/diameter/SoC/OTP-10927' into maintAnders Svensson2017-09-213-8745/+1280
|\ \ | | | | | | | | | | | | * anders/diameter/SoC/OTP-10927: Simplify/complete Standards Compliance doc
| * | Simplify/complete Standards Compliance docAnders Svensson2017-09-203-8745/+1280
| | | | | | | | | | | | | | | With a table. Probably no one wants to read a commented RFC, it's been unfinished for some time, and it's difficult to get an overview from it.
* | | Merge branch 'anders/diameter/20.1/OTP-14561' into maintAnders Svensson2017-09-182-3/+5
|\ \ \ | | | | | | | | | | | | | | | | * anders/diameter/20.1/OTP-14561: Update appup and version for 20.1
| * | | Update appup and version for 20.1Anders Svensson2017-09-152-3/+5
| |/ /
* | | Merge branch 'anders/diameter/sctp/OTP-10889' into maintAnders Svensson2017-09-182-17/+49
|\ \ \ | | |/ | |/| | | | | | | * anders/diameter/sctp/OTP-10889: Make unordered delivery configurable
| * | Make unordered delivery configurableAnders Svensson2017-09-172-17/+49
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Changing the default in the parent commit is possibly a bit dangerous, even if the motivation still holds. Take a step back and make unordered delivery a matter of configuration, without changing the default: configuration is {unordered, boolean() | pos_integer()}, with false the default, and N equivalent to OS =< N, where OS is the number of outbound streams negotiated on the association in question. A user can mess with this by configuring an sctp_default_send_param of their own, but unordered sending is them from start, not only after the second message reception.
* | | Merge branch 'anders/diameter/performance/OTP-14521' into maintAnders Svensson2017-09-181-1/+1
|\ \ \ | | | | | | | | | | | | | | | | * anders/diameter/performance/OTP-14521: Fix append of Route-Record AVPs
| * | | Fix append of Route-Record AVPsAnders Svensson2017-09-151-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Commit b3d9e0c0 did away with the reordering of diameter_avp lists, so prepending the AVP to the list means prepending it in the message, which is not what the RFC requires. Appending to a list isn't ideal, but right now there's no better way.
* | | | Merge branch 'anders/diameter/grouped_decode/OTP-14607' into maintAnders Svensson2017-09-131-31/+34
|\ \ \ \ | | | | | | | | | | | | | | | | | | | | * anders/diameter/grouped_decode/OTP-14607: Fix diameter_packet.avps decode of Grouped AVP errors in Failed-AVP
| * | | | Fix diameter_packet.avps decode of Grouped AVP errors in Failed-AVPAnders Svensson2017-09-111-31/+34
| | | | | | | | | | | | | | | | | | | | | | | | | The decode didn't respect the format as a list of diameter_avp records, so information about faulty component AVPs was lost.
| * | | | Merge branch 'anders/diameter/DOIC/OTP-14588' into ↵Anders Svensson2017-09-111-3/+0
| |\ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | anders/diameter/grouped_decode/OTP-14607 * anders/diameter/DOIC/OTP-14588: Fix avp_dictionaries decode with {decode_format, none}
* | \ \ \ \ Merge branch 'anders/diameter/DOIC/OTP-14588' into maintAnders Svensson2017-09-131-3/+0
|\ \ \ \ \ \ | | |/ / / / | |/| | | | | | | | | | | | | | | | * anders/diameter/DOIC/OTP-14588: Fix avp_dictionaries decode with {decode_format, none}
| * | | | | Fix avp_dictionaries decode with {decode_format, none}Anders Svensson2017-09-111-3/+0
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Decode is only a no-op when the AVP is Grouped, and then only on the Grouped AVP itself, not its components.
* | | | | | Merge branch 'anders/diameter/config_consistency/OTP-14555' into maintAnders Svensson2017-09-091-2/+0
|\ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * anders/diameter/config_consistency/OTP-14555: Fix type spec Fix strict_arities blunder
| * | | | | | Fix type specAnders Svensson2017-09-081-1/+0
| | | | | | | | | | | | | | | | | | | | | | | | | | | | Map key was not retained when the spec was added in commit 66bb5251.
| * | | | | | Fix strict_arities blunderAnders Svensson2017-09-081-2/+0
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The watchdog process retained the configuration, causing DWR/DWA encode to fail on a string-valued Origin-Host/Realm if the encode arity was relaxed. Bungled in commit 5f3becad.
* | | | | | | Merge branch 'anders/diameter/performance/OTP-14521' into maintAnders Svensson2017-09-091-8/+6
|\ \ \ \ \ \ \ | | |_|_|/ / / | |/| | | | | | | | | | | | | | | | | | | * anders/diameter/performance/OTP-14521: Simplify implementation in diameter_reg (take 2)
| * | | | | | Simplify implementation in diameter_reg (take 2)Anders Svensson2017-09-071-8/+6
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Simplify the simplification. The order of sending is changed, but the order isn't significant.
* | | | | | | Merge branch 'anders/diameter/performance/OTP-14521' into maintAnders Svensson2017-09-071-158/+95
|\ \ \ \ \ \ \ | |/ / / / / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * anders/diameter/performance/OTP-14521: Simplify implementation in diameter_reg Fix type spec Fix minor monitor blunder in diameter_reg
| * | | | | | Simplify implementation in diameter_regAnders Svensson2017-09-061-157/+94
| | | | | | | | | | | | | | | | | | | | | | | | | | | | Use maps instead of dict for traceability more than performance.
| * | | | | | Fix type specAnders Svensson2017-09-061-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | That dialyzer hasn't noticed is wrong.
| * | | | | | Fix minor monitor blunder in diameter_regAnders Svensson2017-09-051-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Commit 58091992 discarded a new monitor reference, so didn't avoid multiple monitors as was the intention. The blunder was harmless since all but the first DOWN message resulted in notifications.