Skip to content

Detect when socket has been disconnected to force a reconnection#153

Closed
dannytrigo wants to merge 2 commits into
miracle2k:masterfrom
dannytrigo:poll_disconnect
Closed

Detect when socket has been disconnected to force a reconnection#153
dannytrigo wants to merge 2 commits into
miracle2k:masterfrom
dannytrigo:poll_disconnect

Conversation

@dannytrigo
Copy link
Copy Markdown

Using the async API with the poll loop, it seems my socket gets disconnected at some point and then recv returns 0 bytes, and the header parsing fails. This forces a disconnect so that the loop can reopen the socket

@dannytrigo
Copy link
Copy Markdown
Author

Covered in #155

@dannytrigo dannytrigo closed this Mar 11, 2024
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.

1 participant