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

Reply via email to