Ensure that the ssl modules for Python 3 and 2.7.9+ get the gevent socket, not the stdlib socket.
If the environment had not been monkeypatched when gevent's ssl module was imported, they could get the stdlib socket, meaning that reads and writes could block greenlet switching for an arbitrary amount of time. This was especially visible on SSL servers. Fixes #597.
Showing
Please register or sign in to comment