[OpenSIPS-Devel] [OpenSIPS/opensips] 8221a8: [proto_tcp] Fix cleaning an un-init'ed conn
    Bogdan Andrei IANCU 
    noreply at github.com
       
    Wed Dec 16 13:26:16 EST 2020
    
    
  
  Branch: refs/heads/2.4
  Home:   https://github.com/OpenSIPS/opensips
  Commit: 8221a8e032dd2591a0b26ce1011c3ef5c70a7bc7
      https://github.com/OpenSIPS/opensips/commit/8221a8e032dd2591a0b26ce1011c3ef5c70a7bc7
  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.
(cherry picked from commit 46d0b75243372375162ab64ca66aff42cdd7b547)
    
    
More information about the Devel
mailing list