This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author christian.heimes
Recipients allanc, christian.heimes
Date 2017-06-06.17:27:31
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1496770051.33.0.293629849557.issue30562@psf.upfronthosting.co.za>
In-reply-to
Content
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.
History
Date User Action Args
2017-06-06 17:27:31christian.heimessetrecipients: + christian.heimes, allanc
2017-06-06 17:27:31christian.heimessetmessageid: <1496770051.33.0.293629849557.issue30562@psf.upfronthosting.co.za>
2017-06-06 17:27:31christian.heimeslinkissue30562 messages
2017-06-06 17:27:31christian.heimescreate