You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Although libssh2_poll() doesn't specify the timeout resolution, from the code I conclude that it must be in milliseconds, because it gets passed to poll():
The timeout argument specifies the number of milliseconds that poll() should block
The extension function ssh2_poll() has a timeout parameter specified in seconds.
The seconds timeout parameter from the php function when passed to libssh2 is multiplied by 1000 to get the number of milliseconds. I see no problem here, what am I missing?
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);
The text was updated successfully, but these errors were encountered: