-
Notifications
You must be signed in to change notification settings - Fork 565
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
aaa_diameter: Add management for "unreplied requests"
This becomes necessary both when the event_route is not defined, as well as in various error cases, e.g. script writer omits to invoke dm_send_answer() or an internal error occurs before the answer is built. Finally, make sure to protect the requests list, since it is actually managed by multiple threads part of the "Diameter peer" OpenSIPS worker: * dm_update_unreplied_req() - called by the peer's Server Thread (i.e. "put a freshly received request on hold") * dm_remove_unreplied_req() - called by the peer's Main Thread (i.e. "the script writer just built a new reply, msg can be freed")
- Loading branch information
1 parent
223a7e3
commit b43964f
Showing
3 changed files
with
94 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters