Victor Duchovni wrote:
On Thu, Jul 19, 2007 at 03:54:55PM -0400, Jim Marshall wrote:

I'm also not sure I understand your answer "This is the way TCP works". When we disconnect the network cable the connection never times out (we left it for at least 30 minutes).

TCP only disconnects quickly when a writer re-tranmits unacked data.
TCP never[1] disconnects when a reader waits for more data, this requires
an application timeout.
I agree it requires a time-out, but since we are in the openSSL library (waiting for the hello message) there is nothing I can do in my application. Is there a setting I can pass to SSL to tell it to time-out?

As for 'keepalive', I don't think that will help if the telnet session is still connected (e.g. telnet will ack the keep-alive requests).

-Jim

______________________________________________________________________
OpenSSL Project                                 http://www.openssl.org
User Support Mailing List                    openssl-users@openssl.org
Automated List Manager                           [EMAIL PROTECTED]

Reply via email to