[OpenSIPS-Devel] [OpenSIPS/opensips] b43964: aaa_diameter: Add management for "unreplied requests"
Liviu Chircu
noreply at github.com
Tue Feb 27 18:18:51 UTC 2024
Branch: refs/heads/master
Home: https://github.com/OpenSIPS/opensips
Commit: b43964f67cee77ec242907922d62afdbe5f6f97c
https://github.com/OpenSIPS/opensips/commit/b43964f67cee77ec242907922d62afdbe5f6f97c
Author: Liviu Chircu <liviu at opensips.org>
Date: 2024-02-27 (Tue, 27 Feb 2024)
Changed paths:
M modules/aaa_diameter/aaa_impl.c
M modules/aaa_diameter/aaa_impl.h
M modules/aaa_diameter/peer.c
Log Message:
-----------
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")
Commit: ca0006b10748e514c8d49bcec8302d18cfd89147
https://github.com/OpenSIPS/opensips/commit/ca0006b10748e514c8d49bcec8302d18cfd89147
Author: Liviu Chircu <liviu at opensips.org>
Date: 2024-02-27 (Tue, 27 Feb 2024)
Changed paths:
M locking.h
M modules/aaa_diameter/aaa_diameter.c
R modules/aaa_diameter/aaa_evi.c
R modules/aaa_diameter/aaa_evi.h
R modules/aaa_diameter/aaa_impl.c
R modules/aaa_diameter/aaa_impl.h
A modules/aaa_diameter/dm_evi.c
A modules/aaa_diameter/dm_evi.h
A modules/aaa_diameter/dm_impl.c
A modules/aaa_diameter/dm_impl.h
A modules/aaa_diameter/dm_peer.c
A modules/aaa_diameter/dm_peer.h
R modules/aaa_diameter/peer.c
R modules/aaa_diameter/peer.h
Log Message:
-----------
aaa_diameter: Code + filename improvements; Improve docs
Compare: https://github.com/OpenSIPS/opensips/compare/223a7e32d1e9...ca0006b10748
To unsubscribe from these emails, change your notification settings at https://github.com/OpenSIPS/opensips/settings/notifications
More information about the Devel
mailing list