Antoine Pitrou <pit...@free.fr> added the comment:

My analysis of SSL_shutdown() was missing something: timeout sockets are really 
non-blocking sockets in disguise. I guess it's never too late to notice.

OpenSSL doesn't know about the timeout, so we have to do it ourselves. 
Ironically, the infrastructure is already in place in _ssl.c, and used for 
read() and write() methods.

So here is a new patch, taking this into account.

----------
Added file: http://bugs.python.org/file16826/newssl5.patch

_______________________________________
Python tracker <rep...@bugs.python.org>
<http://bugs.python.org/issue8108>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to