Skip to content

Combined PR: SR-9033 handle EPOLLHUP #478

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

Merged
merged 2 commits into from
May 6, 2019

Conversation

gottesmm
Copy link
Contributor

@gottesmm gottesmm commented May 6, 2019

This is just a combination of these two PRs combining authorship information:

#477
#476

As one can see #476 fails with ToT. Lets see if with 477 it passes and then lets land this sucker!

adierking and others added 2 commits May 6, 2019 11:19
If epoll_wait() reports EPOLLHUP, we must respond immediately and
unregister the event or else Dispatch will go into a spinloop.

This makes dispatch_io_pipe_close (swiftlang#476) pass on Linux with identical
output to Darwin.
@gottesmm gottesmm requested a review from compnerd May 6, 2019 18:23
@gottesmm
Copy link
Contributor Author

gottesmm commented May 6, 2019

@swift-ci test

@weissi weissi changed the title Combined PR: SR-9033 handle EPOLLUP Combined PR: SR-9033 handle EPOLLHUP May 6, 2019
@gottesmm gottesmm requested review from weissi and ktopley-apple May 6, 2019 18:24
Copy link
Contributor

@ktopley-apple ktopley-apple left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

Copy link
Contributor

@weissi weissi left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks very much @adierking and @gottesmm ! This PR looks good to me!

@weissi
Copy link
Contributor

weissi commented May 6, 2019

We should also back-port this to the swift-5.0-branch branch

@ktopley-apple ktopley-apple merged commit 2e3d5c0 into swiftlang:master May 6, 2019
@gottesmm gottesmm deleted the sr-9033 branch May 7, 2019 17:26
ktopley-apple added a commit that referenced this pull request May 14, 2019
rokhinip pushed a commit that referenced this pull request Nov 5, 2021
Combined PR: SR-9033 handle EPOLLHUP

Signed-off-by: Kim Topley <[email protected]>
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.

4 participants