diff options
author | Einar Floystad Dorum <einarfd@mailthief.com> | 2011-08-04 20:53:57 +0200 |
---|---|---|
committer | Andreas Schneider <asn@cryptomilk.org> | 2011-08-08 15:28:08 +0200 |
commit | edb03bd2245a27e2094a170d7a8bf9b89f1dee0f (patch) | |
tree | a428f5c7a5809d082131261c7be9e4ddd91195b3 /include/libssh/libssh.h | |
parent | 1204f43ea92dbc57a06a45b9293255104d940705 (diff) | |
download | libssh-edb03bd2245a27e2094a170d7a8bf9b89f1dee0f.tar.gz libssh-edb03bd2245a27e2094a170d7a8bf9b89f1dee0f.tar.xz libssh-edb03bd2245a27e2094a170d7a8bf9b89f1dee0f.zip |
Fixed ssh_scp_write so it works when doing recursive copy
There where two issues with ssh_scp_write:
1) It did not write a status message after the last write and OpenSSH
would then give up after the write finished.
2) OpenSSH would sometimes write a status message, after near ends write.
If scp_write didn't handle it, and subsequent status message. The remote
window would shrink to zero and ssh_channel_write would start returning 0.
Signed-off-by: Einar Floystad Dorum <einarfd@mailthief.com>
Signed-off-by: Andreas Schneider <asn@cryptomilk.org>
(cherry picked from commit 01c4b713dc57d16612c3b61e1857fb982623dd12)
Diffstat (limited to 'include/libssh/libssh.h')
0 files changed, 0 insertions, 0 deletions