-
Notifications
You must be signed in to change notification settings - Fork 52
Many additional Windows fixes #149
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
Conversation
WSAPollFD `revents` seems to contain POLLRDNORM and not POLLRDBAND (or'd together equals POLLIN). This means we should check for an intersection with POLLIN to claim a "read" event
Windows doesn't like this flag ever for AF_UNIX, so don't add it in that case either
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## main #149 +/- ##
=======================================
Coverage 94.58% 94.59%
=======================================
Files 62 62
Lines 4025 4032 +7
=======================================
+ Hits 3807 3814 +7
Misses 218 218 ☔ View full report in Codecov by Sentry. |
we need to send an error through if we're waiting to read and an error happens, but making sure we only error if no actual reading occurred
turns out fixing SocketPool<Poll> fixes mishandling of disconnect errors
This reverts commit 86ed1be.
lol, after testing locally back and forth, I think this PR is RTG. Please squash and merge if you can |
OK I got bored and added Windows to the test suite... |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
great thank you
ah I did not squash — sorry |
This brings greenlights to every test except datagram stuff.
Also fixes an edgecase affecting any user of
SocketPool<Poll>