[OpenSIPS-Devel] [OpenSIPS/opensips] 46d0b7: [proto_tcp] Fix cleaning an un-init'ed conn

Bogdan Andrei IANCU noreply at github.com
Wed Dec 16 13:24:09 EST 2020


  Branch: refs/heads/3.0
  Home:   https://github.com/OpenSIPS/opensips
  Commit: 46d0b75243372375162ab64ca66aff42cdd7b547
      https://github.com/OpenSIPS/opensips/commit/46d0b75243372375162ab64ca66aff42cdd7b547
  Author: Bogdan-Andrei Iancu <bogdan at opensips.org>
  Date:   2020-12-16 (Wed, 16 Dec 2020)

  Changed paths:
    M net/proto_tcp/proto_tcp.c

  Log Message:
  -----------
  [proto_tcp] Fix cleaning an un-init'ed conn

When handling a TCP accept event, if there is an error on dispatching the conn to the TCP workers, the conn is cleaned and destroied, without ever actually being initialised  So, we need to be sure we can clean conns which were not init'ed.





More information about the Devel mailing list