[Info-vax] OpenSSL read/write timeouts
Rich Jordan
jordan at ccs4vms.com
Wed Jan 14 14:08:06 EST 2009
Hoping someone here has done this, but if not I'll pester the OpenSSL
lists; so far google searches are not turning up useful results
(though perhaps the lack of same is an answer in itself).
Is there a way to put a timeout on a blocking read/write in OpenSSL?
The only timeout documentation I can find is for an SSL session
timeout (default 300 seconds), but nothing for a timeout on an actual
I/O operation using SSL_READ() or SSL_WRITE().
Do you have to handle it at the lower socket layer? Or roll your own
with polling and traps using non-blocking read/write functions (read
timeouts are the critical one for this app, but both would be nice).
Netlib is so much nicer than writing this stuff (in C yet, which I
like but haven't used in many years).
Thanks
Rich
More information about the Info-vax
mailing list