GreenSocket conflict with pysocks #616
Closed
Labels
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 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Combine
eventletandpysocks, it will causeRecursionError: maximum recursion depth exceededCode 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: