mirror of
https://github.com/libssh2/libssh2.git
synced 2025-11-02 10:53:16 +03:00
d013a6b07064c7dd9f0fac08d3bf451c6c4beaee
This function was calling channel_wait_eof to ensure that the EOF packet has already been received, but that function also checks that the read data queue is empty before reporting the EOF. That caused channel_wait_closed to fail with a LIBSSH2_ERROR_INVAL when some data was queued even after a successful call to libssh2_channel_wait_eof. This patch changes libssh2_channel_wait_closed to look directly into channel->remote.eof so that both libssh2_channel_wait_eof and libssh2_channel_wait_closed bahave consistently.
libssh2 - SSH2 library
libssh2 is a library implementing the SSH2 protocol, available under the revised BSD license.
Installation instructions:
Description
libssh2 - это библиотека, реализующая протокол SSH2, доступная по пересмотренной лицензии BSD
Languages
C
85.1%
M4
3.6%
CMake
3.4%
Shell
2.6%
RPGLE
1.8%
Other
3.2%