-
-
Notifications
You must be signed in to change notification settings - Fork 2.5k
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
net: add epollhup test #3898
net: add epollhup test #3898
Conversation
It seems like the behavior is different on mac. |
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.
LGTM.
@Darksonn have you mean able to reproduce the issue in #3879? Or is this just checking all errors. @bnoordhuis suggested in #3879 (comment) that this error might not be fatal.
Well, the test I added fails without the change. I didn't try other things than the test. |
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.
Looks good to me!
We should probably do the same w/ TCP? |
We already do this for TCP as seen here, however when I added the test for TCP it didn't seem to work. |
This reverts commit 9509b62.
The TCP test might require setting linger to 0. Either way, we can merge this I think. |
Fixes: #3879