-
Notifications
You must be signed in to change notification settings - Fork 97
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
select.poll() is not available when using eventlet #327
Comments
Could you provide a minimal example that can be used to reproduce this? |
This seems to do it pretty reliably. Increasing the loop count causes the connection pool to get used up which triggers the problem:
|
bobh66
added a commit
to bobh66/httpcore
that referenced
this issue
May 3, 2021
tomchristie
added a commit
that referenced
this issue
May 4, 2021
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
When using httpx/httpcore and eventlet together, is_socket_readable() fails with an AttributeError because poll() is not implemented in eventlet:
Since this code already uses select.select() instead of select.poll() on Windows, I will push a PR to also use select.select() if poll() is unavailable.
The text was updated successfully, but these errors were encountered: