Message295280
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. |
|
Date |
User |
Action |
Args |
2017-06-06 17:27:31 | christian.heimes | set | recipients:
+ christian.heimes, allanc |
2017-06-06 17:27:31 | christian.heimes | set | messageid: <1496770051.33.0.293629849557.issue30562@psf.upfronthosting.co.za> |
2017-06-06 17:27:31 | christian.heimes | link | issue30562 messages |
2017-06-06 17:27:31 | christian.heimes | create | |
|