Subject: Re: Keep-alive problems in 1.2.6 + poll() mistake

Re: Keep-alive problems in 1.2.6 + poll() mistake

From: Daniel Stenberg <daniel_at_haxx.se>
Date: Sun, 18 Jul 2010 19:50:20 +0200 (CEST)

On Sun, 18 Jul 2010, Jan Van Boghout wrote:

>> A question: at what point in the function flow do you enable the keepalive?
>>
>> Can you provide a smallish example repeating the problem?
>
> I was configuring it before libssh2_session_startup, which turned out to be
> the culprit. After relocating libssh2_keepalive_config to after
> libssh2_session_startup, all smooth sailing. Thanks for the hint!

Great. We need to make some notes about this in the documentation, as I know
of at least one other case that also fell into this trap.

-- 
  / daniel.haxx.se
_______________________________________________
libssh2-devel http://cool.haxx.se/cgi-bin/mailman/listinfo/libssh2-devel
Received on 2010-07-18