TcpProxy._handle_new_connection() performs the blocking backend connect() before registering the connection. drop_connections() can miss that connection and return before it is published; stop() can return after its accept-thread join times out while the sockets remain untracked.
Track or cancel pending connection setup and add blocked-connect regression tests.
Related: #948, #949.
TcpProxy._handle_new_connection()performs the blocking backendconnect()before registering the connection.drop_connections()can miss that connection and return before it is published;stop()can return after its accept-thread join times out while the sockets remain untracked.Track or cancel pending connection setup and add blocked-connect regression tests.
Related: #948, #949.