Skip to content

test: track TcpProxy connections during backend connect #960

Description

@dkropachev

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions