On 10/28/2015 08:10 PM, Sanchay Harneja wrote:
> Just wanted to clarify - is it okay to call libssh2_keepalive_send()
> after the channel is closed?
keep-alives are not related to channels, they are a session thing. So,
as long as the connection is established, you can send them.
Calling libssh2_keepalive_send() is probably safe as long as the session
object remains allocated.
_______________________________________________
libssh2-devel http://cool.haxx.se/cgi-bin/mailman/listinfo/libssh2-devel
Received on 2015-10-30