Yelp / python-gearman

Gearman API - Client, worker, and admin client interfaces
http://github.com/Yelp/python-gearman/
Other
242 stars 123 forks source link

Catch WANT_READ and WANT_WRITE SSL exceptions #54

Closed Shrews closed 10 years ago

Shrews commented 11 years ago

SSL_ERROR_WANT_READ and SSL_ERROR_WANT_WRITE could possibly be thrown from either recv() or send(), so we need to make sure both are handled.