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

Windows compatibility #38

Merged
merged 3 commits into from May 17, 2023
Merged

Windows compatibility #38

merged 3 commits into from May 17, 2023

Conversation

githubDante
Copy link
Contributor

* Switched from _select_ to the _selectors_ module for compatibility
* Added platform check
Apparently reuse_port is not available either
@githubDante githubDante changed the title Windows compatibility [WIP] Windows compatibility May 15, 2023
On Windows the event generated from socket.close somtimes is propagated before the event.set() operation which in turn causes the reader thread to attempt reading from a closed socket.
Fixes: OSError: [WinError 10038] An operation was attempted on something that is not a socket
@githubDante githubDante changed the title [WIP] Windows compatibility Windows compatibility May 16, 2023
@jmccrohan jmccrohan merged commit 5a0bf9a into jmccrohan:main May 17, 2023
@jmccrohan
Copy link
Owner

Thanks for this. Merged.

Closes #37

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.

None yet

2 participants