[OpenSIPS-Devel] [OpenSIPS/opensips] 06b641: net/tcp: save fd before sending the conn to main
Răzvan Crainea
noreply at github.com
Fri Feb 8 16:31:32 EST 2019
Branch: refs/heads/2.2
Home: https://github.com/OpenSIPS/opensips
Commit: 06b641ba59d7786f286cc42fd9d407356e0b440f
https://github.com/OpenSIPS/opensips/commit/06b641ba59d7786f286cc42fd9d407356e0b440f
Author: Razvan Crainea <razvan at opensips.org>
Date: 2019-02-08 (Fri, 08 Feb 2019)
Changed paths:
M net/net_tcp.c
Log Message:
-----------
net/tcp: save fd before sending the conn to main
Save local fd of the connection before sending it to TCP main, to make
sure we it won't get overwritten by main, and we close somebody else's
file descriptor.
(cherry picked from commit ed4e862db1dbeefd6db8559425c2da26fa239dd9)
More information about the Devel
mailing list