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

Fix unexpected POLLHUP event on connection failure on MacOS #976

Merged
merged 2 commits into from
Sep 13, 2023

Conversation

paullouisageneau
Copy link
Owner

@paullouisageneau paullouisageneau commented Sep 11, 2023

MacOS sets POLLHUP on connection failure (same as connection close) instead of POLLERR.

This PR fixes #971

@paullouisageneau paullouisageneau force-pushed the fix-unexpected-pollin-macos branch from 2fbaaf3 to 0feb74c Compare September 12, 2023 12:32
@paullouisageneau paullouisageneau changed the title Fix unexpected POLLIN event handling on MacOS Fix unexpected POLLHUP event on connection failure on MacOS Sep 12, 2023
@paullouisageneau paullouisageneau merged commit b1d4e3c into master Sep 13, 2023
11 checks passed
@paullouisageneau paullouisageneau deleted the fix-unexpected-pollin-macos branch September 13, 2023 23:23
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.

example native client can't connect to localhost:8000 websocket
1 participant