Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Don't wait underlying network buffer to overflow #79

Closed
wants to merge 1 commit into from

Conversation

gerdoe-jr
Copy link

For some reason my Windows server build crashed every time on WouldBlock which was caused by small network buffer(?) that wasn't able to send messages on time. Thanks to @eof228

@heinrich5991 heinrich5991 force-pushed the master branch 2 times, most recently from 10cb702 to aff9b03 Compare July 18, 2023 22:19
@heinrich5991
Copy link
Owner

This fixes the issue for @gerdoe-jr, however, it doesn't look like the correct fix. This is simply optionally also waiting for a writable socket.

A possible correct fix for this would be ignoring the WouldBlock error and treating it as a success.

@heinrich5991
Copy link
Owner

Created issue #85, closing this PR as it's not the correct solution.

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.

2 participants