[OpenSIPS-Devel] [OpenSIPS/opensips] 32b49a: 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.2
Home: https://github.com/OpenSIPS/opensips
Commit: 32b49abc80b49f8b530a9de732fa9bdc2aa89e98
https://github.com/OpenSIPS/opensips/commit/32b49abc80b49f8b530a9de732fa9bdc2aa89e98
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