On 17 Jul 2010, at 19:25, Daniel Stenberg wrote: > On Fri, 16 Jul 2010, Jan Van Boghout wrote: > >> I just got around to trying 1.2.6 and discovered that >> libssh2_keepalive_config() was added a while back. Yay, this could get rid >> of custom patches... Unfortunately, when I enable it libssh2 won't even >> establish a proper channel to the server. > > 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! Cheers, Jan _______________________________________________ libssh2-devel http://cool.haxx.se/cgi-bin/mailman/listinfo/libssh2-devel
