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 an error on Windows when no sockets are being select()'d #29

Closed
wants to merge 1 commit into from
Closed

Fix an error on Windows when no sockets are being select()'d #29

wants to merge 1 commit into from

Conversation

mafemergency
Copy link

This won't call select() if there are no sockets being checked, as on Windows this will raise a WindowsError(WSAEINVAL)

… would raise a WindowsError (WSAEINVAL) on Windows.
@dabeaz
Copy link
Owner

dabeaz commented Feb 5, 2016

Need more information about this pull request. To my knowledge, curio doesn't even poll sockets if there are no tasks listening. So, I'm a bit confused about the circumstances under which this might arise. I could be missing something though.

@dabeaz
Copy link
Owner

dabeaz commented May 24, 2016

Closing this because the code has shifted a fair bit since it was first reported. Should note that I am open to future pull-requests related to Windows.

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.

2 participants