Subject: Re: Platforms with lengthy disconnection timeouts

Re: Platforms with lengthy disconnection timeouts

From: Dan Fandrich <dan_at_coneharvesters.com>
Date: Wed, 12 Jan 2011 13:57:46 -0800

On Wed, Jan 12, 2011 at 09:19:45PM +0000, Philippe Lemoine wrote:
> We are using libssh2 1.2.4 with libCurl 7.18.2.
>
> What is the best approach to make libssh2 react very quickly upon a physical
> disconnection, in the case the platform on which we are running don`t detect
> those events immediately on the socket level?

If you're using libssh2 through libcurl, then this question should be posed to
the libcurl mailing list, since libcurl abstracts libssh2 entirely away.
This is actually a libcurl FAQ:
http://curl.haxx.se/docs/faq.html#Why_doesn_t_cURL_return_an_error

>>> Dan
_______________________________________________
libssh2-devel http://cool.haxx.se/cgi-bin/mailman/listinfo/libssh2-devel
Received on 2011-01-12