Skip to content

Conversation

@DXist
Copy link
Contributor

@DXist DXist commented Dec 20, 2024

This PR handles TimedOut and BrokerPipe errors that could be returned by tcp layer:

EPIPE  The other end closed the socket unexpectedly or a read is
              executed on a shut down socket.

ETIMEDOUT
      The other end didn't acknowledge retransmitted data after
      some time.

In these cases it makes sense to close listener connection proactively.

@abonander abonander changed the title close listener connection on TimedOut and BrokerPipe errors close listener connection on TimedOut and BrokenPipe errors Dec 25, 2024
@abonander abonander merged commit 4590b9c into launchbadge:main Dec 25, 2024
81 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants