mirror of
https://github.com/curl/curl.git
synced 2026-04-15 02:41:46 +03:00
When a reused connection did transfer 0 bytes, it assumed the transfer had failed and needed a retry. Add a check for data->red.done, so we can successfully accept the transfer of a 0-length file via SFTP. Add test case 1583 to verfiy. Fix SFTP disconnect debug trace when there was nothing to disconnect (like when reusing a connection). Fixes #19165 Reported-by: Alexander Blach Closes #19189 |
||
|---|---|---|
| .. | ||
| curl_path.c | ||
| curl_path.h | ||
| libssh.c | ||
| libssh2.c | ||
| ssh.h | ||