parent
8eb74aa2fe
commit
6b0d8a15fe
@ -1,7 +1 @@
|
|||||||
libssh2-1.0.tar.gz
|
libssh2-1.2.tar.gz
|
||||||
libssh2*
|
|
||||||
*.gz
|
|
||||||
*.tar
|
|
||||||
*.rpm
|
|
||||||
x86_64
|
|
||||||
.build*
|
|
||||||
|
@ -1 +1 @@
|
|||||||
c3602adae912702ba9cbefbe813b7b5b libssh2-1.0.tar.gz
|
751f4b5b5d8091f84cfe25fa52226cf9 libssh2-1.2.tar.gz
|
||||||
|
@ -0,0 +1,13 @@
|
|||||||
|
diff --git a/src/transport.c b/src/transport.c
|
||||||
|
index 19efdf2..d9a38ca 100644
|
||||||
|
--- a/src/transport.c
|
||||||
|
+++ b/src/transport.c
|
||||||
|
@@ -626,7 +626,7 @@ send_existing(LIBSSH2_SESSION * session, unsigned char *data,
|
||||||
|
|
||||||
|
p->osent += rc; /* we sent away this much data */
|
||||||
|
|
||||||
|
- return PACKET_NONE;
|
||||||
|
+ return p->osent < data_len ? PACKET_EAGAIN : PACKET_NONE;
|
||||||
|
}
|
||||||
|
|
||||||
|
/*
|
Loading…
Reference in new issue