-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
pjnath/turn_sock: Fix destruction of TURN sockets
When destroying a TURN socket on failure -- e.g. failed allocation of socket -- the underlying session does not change its last status. Change this by passing a `pj_status_t' value to `pj_turn_sock_shutdown2' and calling `pj_turn_session_shutdown2' instead of `pj_turn_session_shutdown'. The old `pj_turn_sock_shutdown' remains for ABI compatibility and call the new version `pj_turn_sock_shutdown2' with status `PJ_SUCCESS'. https://git.jami.net/savoirfairelinux/jami-daemon/-/issues/682 Upstream ticket: pjsip/pjproject#3154 Change-Id: I7f902b0a5bb44fd403bd147676d655dc775f2156
- Loading branch information
Olivier Dion
authored and
Sébastien Blin
committed
Sep 7, 2023
1 parent
6eb7a17
commit 16bf8a3
Showing
4 changed files
with
76 additions
and
42 deletions.
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
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