[OpenSIPS-Devel] [OpenSIPS/opensips] f76baa: net: mark closed FD for expired tcp connections

Vlad Pătrașcu noreply at github.com
Tue Mar 23 20:14:15 EST 2021


  Branch: refs/heads/master
  Home:   https://github.com/OpenSIPS/opensips
  Commit: f76baad60c567010e031c016da64f25a3793108e
      https://github.com/OpenSIPS/opensips/commit/f76baad60c567010e031c016da64f25a3793108e
  Author: Vlad Patrascu <vladp at opensips.org>
  Date:   2021-03-23 (Tue, 23 Mar 2021)

  Changed paths:
    M net/net_tcp.c

  Log Message:
  -----------
  net: mark closed FD for expired tcp connections

If the socket fd is closed and not marked appropriately in the tcp
connection structure, the proto modules might try to do a connection
cleanup with an invalid FD.





More information about the Devel mailing list