Skip to content

Keep-alives don't work #49

@kyrias

Description

@kyrias

Based on the API one would expect that calling connect with a SessionConfiguration that has set_keepalive set with an interval above 0 to result in keep-alives being automatically issued. However as per the libssh2 docs:

Note that non-blocking applications are responsible for sending the keepalive messages using libssh2_keepalive_send.

(As an aside, it's unfortunate that the ssh2 crate's docs doesn't include this note.)

It would be nice if the async-ssh2-lite crate implemented its own keep-alive support to make the above option function.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions