Christian Heimes added the comment:

SO_RCVTIME0 works only with operating system level sockets. A SSLSocket is not 
an OS level. It's a high level abstraction layer that wraps either a file 
descriptor or a memory BIO. A read operation on a SSLSocket can perform write, 
a write operation can perform read. For the initial handshake, it will do both.

This means that SO_RCVTIME0 is not supported. Either you have to use the 
SSLSocket's timeout feature or do your own socket io and use a memory BIO. The 
internal timeout feature is build around select()/poll() syscall and low level 
OpenSSL calls.

----------
resolution:  -> wont fix
stage:  -> resolved
status: open -> closed

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

Reply via email to