Subject: Responding to the server's keepalives

Responding to the server's keepalives

From: Alexander Lamaison <swish_at_lammy.co.uk>
Date: Wed, 1 Aug 2012 00:33:40 +0100

How are we actually meant to 'pump' keepalive requests from the server?

A couple of years ago Simon added support for responding to keepalive
requests but they only get processed when we're calling an API
function to do something with the channel. What about when we're just
sitting around waiting? Presumably I need to create a thread that
pumps the messages somehow but how?

I don't know if it's relevant but this is for my SFTP client so we
don't use channels directly. And we're using blocking mode.

Alex

-- 
Swish - Easy SFTP for Windows Explorer (http://www.swish-sftp.org)
_______________________________________________
libssh2-devel http://cool.haxx.se/cgi-bin/mailman/listinfo/libssh2-devel
Received on 2012-08-01