Home - Waterfall Grid T-Grid Console Builders Recent Builds Buildslaves Changesources - JSON API - About

Change #246525

Category curl
Changed by Stefan Eissing <stefanohnoyoudont@eissing.org>
Changed at Thu 23 Oct 2025 13:01:35
Repository https://github.com/curl/curl.git
Project curl
Branch master
Revision 0a79a599a9c09f7173e82eec23607742667a9944

Comments

transfer: fix retry for empty downloads on reuse
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

Changed files