-
Notifications
You must be signed in to change notification settings - Fork 320
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
GreenSocket conflict with pysocks #616
Comments
Same here |
I am having the same problem with gunicorn, has anyone found a workaround? |
If you can modify the source code after you install
Modified to:
To break the recursive method invoking |
@terryzhu sorry. Usually we have a policy "if it works in vanilla Python then it's a bug in Eventlet". In this case IMHO they (ab)used If someone comes up with a patch that could fix this on eventlet side, I'd be happy to know, please reopen. But so far it doesn't seem possible to me. Sorry. As workaround, you may use older version of pysocks. |
Watch this issue Anorov/PySocks#121 |
Combine
eventlet
andpysocks
, it will causeRecursionError: maximum recursion depth exceeded
Code example
Actual behaviour
Root cause
GreenSocket settimeout will call setblocking, it will call pysocks setblocking, it will call GrenSocket settimeout again, infinitely.
The text was updated successfully, but these errors were encountered: