How should my libssh2-based client handle gratuitous keepalives from the ssh server?

Vladimir Giszpenc vgiszpenc at crestron.com
Sat Sep 24 00:58:05 CEST 2022


Hi //Peter et al,

In response to https://www.libssh2.org/mail/libssh2-devel-archive-2018-01/0001.shtml


>> Is there a recommended way to handle this issue?

>No. I don't think libssh2 supports dealing with packet when idle at all.

>The real solution is to add a generic protocol handler function, which
>will need a fair bit of work, but I think not a lot of rework.
Was a generic protocol handler function ever added?  Is it planned for some future release?

Thanks,
Vlad


Vladimir Giszpenc | Lead Software Engineer
Phone: 201-367-6510
Ext: 10923
Email: vgiszpenc at crestron.com
Crestron Electronics, Inc.
6 Volvo Drive, Rockleigh, New Jersey, 07647
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.haxx.se/pipermail/libssh2-devel/attachments/20220923/211738e4/attachment-0001.htm>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: image699561.jpg
Type: image/jpeg
Size: 16814 bytes
Desc: image699561.jpg
URL: <http://lists.haxx.se/pipermail/libssh2-devel/attachments/20220923/211738e4/attachment-0001.jpg>


More information about the libssh2-devel mailing list