Skip to content

ssh2_poll's parameter timeout should not * 1000 #78

@mingyuantech

Description

@mingyuantech

line: 942 -> fds_ready = libssh2_poll(pollfds, numfds, timeout * 1000);

An error in this location makes it impossible to determine if the session was forcibly disconnected remotely.

line: 942 -> fds_ready = libssh2_poll(pollfds, numfds, timeout);

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