[OpenSIPS-Devel] [OpenSIPS/opensips] 0c12fd: freeswitch: Avoid dangling socket structs in reactor
Liviu Chircu
noreply at github.com
Mon Dec 18 12:08:05 UTC 2023
Branch: refs/heads/3.4
Home: https://github.com/OpenSIPS/opensips
Commit: 0c12fd67bfcd0fb0b0b95f5c6dd47312f62c8787
https://github.com/OpenSIPS/opensips/commit/0c12fd67bfcd0fb0b0b95f5c6dd47312f62c8787
Author: Liviu Chircu <liviu at opensips.org>
Date: 2023-12-18 (Mon, 18 Dec 2023)
Changed paths:
M modules/freeswitch/fs_proc.c
Log Message:
-----------
freeswitch: Avoid dangling socket structs in reactor
Should reactor_del_reader() ever fail, retry it using index "-1" in
order to guarantee removal of the file descriptor from the EPOLL
controller.
Also fix several occurences of bad 3rd parameter (IO_WATCH_READ instead
of IO_FD_CLOSING, which was probably the intended argument).
(cherry picked from commit 26a9e3a269f9e9b13c5de04422d4efd79ba27b54)
More information about the Devel
mailing list