[OpenSIPS-Devel] [OpenSIPS/opensips] 539958: [proto_tcp] Fix cleaning an un-init'ed conn
    Bogdan Andrei IANCU 
    noreply at github.com
       
    Wed Dec 16 13:24:40 EST 2020
    
    
  
  Branch: refs/heads/master
  Home:   https://github.com/OpenSIPS/opensips
  Commit: 539958944c328d1fe600c4d64faae0270edf7b28
      https://github.com/OpenSIPS/opensips/commit/539958944c328d1fe600c4d64faae0270edf7b28
  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