summaryrefslogtreecommitdiff
path: root/lib/diameter/doc
Commit message (Collapse)AuthorAgeFilesLines
* Prepare releaseErlang/OTP2023-05-151-0/+50
|
* Revert "Prepare release"Henrik Nord2023-04-121-43/+0
| | | | This reverts commit d4e4511b19f4126d9271a6e3a8fa2eb716da7e85.
* Prepare releaseErlang/OTP2023-04-111-0/+43
|
* Revert "Prepare release"Henrik Nord2023-03-221-43/+0
| | | | This reverts commit 1cf126f91eb533783409da95b117207d8c13d9aa.
* Prepare releaseErlang/OTP2023-03-211-0/+43
|
* Revert "Prepare release"Henrik Nord2023-02-151-34/+0
| | | | This reverts commit 587341d994f91af5b30483ee9434e932e3d7b802.
* Prepare releaseErlang/OTP2023-02-141-0/+34
|
* Prepare releaseErlang/OTP2022-09-201-0/+19
|
* Prepare releaseErlang/OTP2022-05-171-0/+28
|
* Revert "Prepare release"Henrik Nord2022-04-131-28/+0
| | | | This reverts commit a2c8df222e6d02fa518d5d6cbbea75a9dd720d30.
* Prepare releaseErlang/OTP2022-04-111-0/+28
|
* Revert "Prepare release"Henrik Nord2022-03-241-28/+0
| | | | This reverts commit 435bc5e68dd45ff6f7992077998930519208e910.
* Prepare releaseErlang/OTP2022-03-231-0/+28
|
* Merge branch 'maint' into masterHenrik Nord2022-03-101-0/+17
|\ | | | | | | | | | | | | * maint: Updated OTP version Prepare release Update copyright year
| * Prepare releaseErlang/OTP2022-03-091-0/+17
| |
* | Fix typos in lib/diameterKian-Meng, Ang2022-02-161-4/+4
|/
* Update copyright yearRickard Green2021-12-1510-10/+10
|
* Merge branch 'maint'John Högberg2021-05-101-0/+23
|\ | | | | | | | | | | | | | | | | * maint: Updated OTP version Prepare release # Conflicts: # OTP_VERSION
| * Prepare releaseErlang/OTP2021-05-101-0/+23
| |
* | ssl: Remove deprecated functions for OTP-24Ingela Anderton Andin2020-12-211-3/+3
|/
* diameter: Work around xmerl parser bugLukas Larsson2020-03-271-1/+1
| | | | | xmerl has to be able to parse the file in order for the docgen link validator to work.
* otp: Fix see link types to be correctLukas Larsson2020-03-271-24/+24
|
* otp: Convert all <seealso> to more specific variantsLukas Larsson2020-03-2712-57/+57
| | | | | | | | | | | | We add `seemfa`, `seeerl`, `seetype`, `seeapp`, `seecom`, `seecref` , `seefile` and `seeguide` in order to make it easier to reason about what each link points to without examining the target. This information will then be embedded in the EEP-48 chunks for usage by other tools. The tool used can be found here: https://gist.github.com/garazdawi/68527d92ae5b37c8f129bfbdfffdfa68
* otp: Prepare for automatic seealso convertionsLukas Larsson2020-03-271-83/+83
| | | | | Some seealso need to be fixed manually and some need to be modified for the script to find them.
* otp: Change all MFA links to use "/" syntax for arityLukas Larsson2020-03-207-40/+40
|
* Merge branch 'maint'Rickard Green2020-03-161-0/+17
|\ | | | | | | | | | | | | | | | | | | * maint: Updated OTP version Prepare release # Conflicts: # OTP_VERSION # erts/doc/src/socket.xml
| * Prepare releaseErlang/OTP2020-03-131-0/+17
| |
* | Merge branch 'maint'Rickard Green2020-03-136-6/+6
|\ \ | |/ | | | | | | * maint: Update copyright year
| * Update copyright yearRickard Green2020-03-136-6/+6
| |
* | Merge branch 'maint'Anders Svensson2020-02-281-0/+51
|\ \ | |/ | | | | | | | | | | | | | | * maint: Updated OTP version Prepare release # Conflicts: # OTP_VERSION
| * Prepare releaseErlang/OTP2020-02-271-0/+51
| |
* | Merge branch 'maint'Anders Svensson2020-02-271-6/+8
|\ \ | |/
| * Fix service/transport option inconsistenciesAnders Svensson2020-02-121-2/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Service options passed to diameter:add_transport/2 were interpreted as such, instead of being ignored as the documentation requires, with the consequence that outgoing and incoming requests saw different values of some options (eg. decode_format), some were always taken from transport options (eg. restrict_connections), and others from service options (eg. share_peers/use_shared_peers). Now ignore service options passed to diameter:add_transport/2, as the documentation requires. This behaviour precedes the changes in commit 5f3becad, that the parent commit addresses, and has probably been the case for some time. That unknown options passed to diameter:add_transport/2 are ignored rather than rejected is questionable, but at least one known user makes use of this to be able to identify transport options returned from diameter:service_info/2, so it can't just be removed. That service options in transport configuration isn't rejected outright is probably even more questionable, but it hasn't been an issue in practice. The documentation was also a little wrong on which transport options can be configured on a service, missing transport_config and transport_module as two that aren't allowed, although these did cause diameter:start_service/2 to return error as expected. (That function not accepting unknown options.)
| * Fix traffic counters for remote request handler processesAnders Svensson2020-02-111-4/+5
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Commit f1cdd721 documented the possibility of starting a handler process for an incoming Diameter request with a configured MFA, but the counter implementation (ie. {traffic_counters, true}) was broken when this process was not on the same node as the transport configuration: incrementing a counter was a noop since the transport pid was not associated with the transport reference in diameter_stats on the remote node. This was a good thing though, since distributing the counters across handler nodes has a number of problems: not losing counters if the connection to a handler node is lost, or not being able to remove counters on a handler node when the transport is removed, keeping track of where counters are located if they have to be retrieved from multiple nodes, and so on. Moreover, it's the service/transport configuration on the local node that orders the counters, so incrementing them on remote nodes is questionable. Avoid the problems by incrementing counters where the transport in question is configured, the node that terminates any associated peer connection. Instead of calling diameter_stats to increment the counter when the diameter_peer_fsm process it's being incremented for is not local, bang the counter to that process to let it call diameter_stats. The only requirement on the handler node is now that diameter and application callbacks reside on the code path, and the documentation has been updated to reflect this. Compare this to the case of outgoing requests, where counters are incremented on the originating node. Similarly, it's the local configuration that orders the counters, and there can be multiple remote nodes through which the request can be sent on a peer connection just like there can be multiple handler nodes in the case of an incoming request.
* | Add DOC_TARGETS makefile variableLukas Larsson2020-02-241-2/+2
| | | | | | | | | | The variable can be set to pdf, html, man or chunks and also any combination of the above.
* | Implement EEP-48 aka doc chunksLukas Larsson2020-02-241-0/+2
| |
* | otp: Refactor doc make system and introduce EEP-48Lukas Larsson2020-02-244-109/+13
|/
* Prepare releaseErlang/OTP2019-04-151-0/+17
|
* Prepare releaseErlang/OTP2019-03-111-0/+35
|
* Merge branch 'anders/diameter/distribution/OTP-15398' into maintAnders Svensson2019-03-082-9/+46
|\ | | | | | | | | | | | | | | | | | | | | * anders/diameter/distribution/OTP-15398: Add diameter_dist_SUITE to exercise diameter_dist:route_session/2 Add consistent hashing to diameter_dist:route_session/2 Add options to diameter_dist:route_session/2 node selection Add diameter_dist for ready spawn_opt callbacks Tweak/document request handler callback Document acknowledgements in transport interface Fix comment typo
| * Tweak/document request handler callbackAnders Svensson2019-03-061-6/+18
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The possibility of configuring an MFA as spawn_opt was added in commit fd285079, the callback being passed an arity-0 fun to be applied in an appropriate handler process. Replace the fun by a tuple to be passed to diameter_traffic:request/1, to avoid passing funs between nodes when handler processes are remote. A list-valued spawn_opt is now equivalent to the following configured as {spawn_opt, {Mod, spawn_local, [Opts]}}. spawn_local(ReqT, Opts) -> spawn_opt(diameter_traffic, request, [ReqT], Opts). ReqT is passed by diameter and contains information that the callback may want to decide where to handle the request in question (which wasn't accessible with a fun), but this information isn't exposed in a documented way. The intention is instead to add an own callback implementation to make use of the information. Note that application lookup now takes place in the watchdog process in both the list-valued (or no configuration) and mfa-valued cases. Whether this is good, bad, or (probably) inconsequential remains to be seen.
| * Document acknowledgements in transport interfaceAnders Svensson2019-03-061-3/+28
| | | | | | | | | | | | | | | | | | | | | | | | | | | | This is the {diameter, ack} message from a transport process to its parent that requests that every Diameter request passed to the parent be matched by a incoming send message, the atom false replacing a message() in the case that the request is unanswered, allowing the transport to keep track of the number of outstanding requests. These were added in commit ca09cf7b, and are used to implement the message_cb config in diameter_tcp/sctp, documented in commit cefcaa5c. This commit documents the interface, to make it available to other transport implementations.
* | Merge branch 'maint-20' into maintAnders Svensson2019-02-141-0/+18
|\ \ | | | | | | | | | | | | | | | * maint-20: Updated OTP version Prepare release
| * | Prepare releaseErlang/OTP2019-02-141-0/+18
| | |
* | | Add "since" attributes in xml for new functions and modulesSverker Eriksson2018-12-117-37/+37
| |/ |/| | | | | introduced after OTP_R13B03.
* | Prepare releaseErlang/OTP2018-09-241-0/+20
| |
* | Update copyright yearHenrik Nord2018-09-211-1/+1
| |
* | docs: make clean all XMLDIRLukas Larsson2018-07-131-0/+1
| |
* | Prepare releaseErlang/OTP2018-06-191-0/+15
| |
* | Update copyright yearHenrik Nord2018-06-181-1/+1
| |