-
Notifications
You must be signed in to change notification settings - Fork 319
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
urlopen calls on Python 3 for HTTPS are not concurrent #457
Comments
It looks like the problem appears only when using HTTPS. |
Thanks, I was confused about this bug report. Does it work with |
It works with |
Yes, it contains code that is not eventlet based. For example, urllib from standard Python library. Please, try this patch.
|
The patch is working. The HTTPS requests are now concurrent without |
@andreibica thanks for testing. And thank you very much for using Fix will be merged into master when I construct a test case. |
…ypto for tests by trustme library fixes #457
…ypto for tests by trustme library fixes #457
I'm using eventlet (version 0.20.1) with Python 3.5.4 and its look like calling multiple urlopen in parallel is not working. Only one urlopen is executed at once.
Here is the provided urlopen example which was modified for Python 3 and it shows the issue.
Each request takes about one second, but doing them in parallel should take also around 1 second.
Still, the the total time is the sum required for each request.
The text was updated successfully, but these errors were encountered: