[OpenSIPS-Devel] [OpenSIPS/opensips] ed4e86: net/tcp: save fd before sending the conn to main

Răzvan Crainea noreply at github.com
Fri Feb 8 16:29:58 EST 2019


  Branch: refs/heads/master
  Home:   https://github.com/OpenSIPS/opensips
  Commit: ed4e862db1dbeefd6db8559425c2da26fa239dd9
      https://github.com/OpenSIPS/opensips/commit/ed4e862db1dbeefd6db8559425c2da26fa239dd9
  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.





More information about the Devel mailing list