[OpenSIPS-Devel] [OpenSIPS/opensips] 6d0ac4: 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.3
Home: https://github.com/OpenSIPS/opensips
Commit: 6d0ac4f622b426879f5a0af91aaf1621b2570ae9
https://github.com/OpenSIPS/opensips/commit/6d0ac4f622b426879f5a0af91aaf1621b2570ae9
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