1
0
mirror of https://github.com/libssh2/libssh2.git synced 2025-11-02 10:53:16 +03:00
Salvador Fandino d013a6b070 channel_wait_closed: don't fail when unread data is queued
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.
2016-11-05 19:45:33 +00:00
2016-02-24 23:44:13 +01:00
2016-10-25 08:50:06 +02:00
2016-02-24 23:44:13 +01:00
2016-01-18 13:35:28 +01:00
2016-03-15 21:58:26 +00:00
2016-04-02 11:19:04 +01:00
2015-03-07 11:32:08 +01:00
2016-10-17 10:15:16 +02:00
2016-08-14 16:03:25 +01:00
2016-08-14 16:03:25 +01:00
2014-08-31 00:41:58 +02:00
2011-04-04 13:31:33 +02:00
2016-02-24 23:44:13 +01:00
2011-04-04 13:31:33 +02:00
2016-02-24 23:44:13 +01:00
2016-09-27 00:17:29 +02:00

libssh2 - SSH2 library

libssh2 is a library implementing the SSH2 protocol, available under the revised BSD license.

Web site

Mailing list

BSD Licensed

Web site source code

Installation instructions:

Description
libssh2 - это библиотека, реализующая протокол SSH2, доступная по пересмотренной лицензии BSD
Readme 14 MiB
Languages
C 85.1%
M4 3.6%
CMake 3.4%
Shell 2.6%
RPGLE 1.8%
Other 3.2%