Skip to content

Connector doesn't drop failed connections for a long time (probably, never) #122

Open
@drewdzzz

Description

@drewdzzz

According to the logs of test Client, some time after the failed connection is destroyed Connector still tries to use it. We should investigate it.

Test logs
*** TEST test_sigpipe started... ***
ERROR: Send failed: Connection reset by peer (10)
ERROR: Connection got an error: Failed to send request: Connection reset by peer
*** TEST test_sigpipe: done
*** TEST test_dead_connection_wait started... ***
ERROR: Peer shutdown (10)
ERROR: Connection got an error: Failed to receive response: Operation now in progress
ERROR: Connection got an error: Failed to receive response: Operation now in progress
ERROR: Connection got an error: Failed to receive response: Operation now in progress
*** TEST test_dead_connection_wait: done
*** TEST response_decoding started... ***
   *** TEST CASE decode data with non-matching format ***
ERROR: Recv from dead stream (10)
ERROR: Recv from dead stream (10)
ERROR: Recv from dead stream (10)
ERROR: Recv from dead stream (10)
ERROR: Recv from dead stream (10)
ERROR: Recv from dead stream (10)
ERROR: Recv from dead stream (10)
ERROR: Recv from dead stream (10)
ERROR: Recv from dead stream (10)
ERROR: Recv from dead stream (10)
ERROR: Recv from dead stream (10)
ERROR: Recv from dead stream (10)
ERROR: Recv from dead stream (10)
ERROR: Recv from dead stream (10)
ERROR: Recv from dead stream (10)
ERROR: Recv from dead stream (10)
ERROR: Recv from dead stream (10)
ERROR: Recv from dead stream (10)
ERROR: Recv from dead stream (10)
ERROR: Recv from dead stream (10)
ERROR: Recv from dead stream (10)
ERROR: Recv from dead stream (10)
ERROR: Recv from dead stream (10)
ERROR: Recv from dead stream (10)
ERROR: Recv from dead stream (10)
ERROR: Recv from dead stream (10)
ERROR: Recv from dead stream (10)
ERROR: Recv from dead stream (10)
ERROR: Recv from dead stream (10)
ERROR: Recv from dead stream (10)
   *** TEST CASE decode data to rvalue object ***
   *** TEST CASE decode data to object with an mpp tag ***
*** TEST response_decoding: done

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