{"author":"Jay Satiro","author_email":"raysatiro@yahoo.com","author_time":1729275151,"commit_time":1760035167,"committer":"Jay Satiro","committer_email":"raysatiro@yahoo.com","hash":"e7247d86971c5ff559d87ccc55b5355d4224f59a","message":"tool_operate: keep failed partial download for retry auto-resume\n\n- Keep data from a failed download instead of discarding it on retry in\n  some limited cases when we know it's ok (currently only HTTP 200/206).\n\nPrior to this change on failed transfer the tool truncated any outfile\ndata written before retrying the transfer. This change adds an exception\nfor HTTP downloads when the user requested auto-resume, because in that\ncase we can keep the outfile data and resume from the new position.\n\nReported-by: tkzv@users.noreply.github.com\n\nFixes https://github.com/curl/curl/issues/18035\nCloses https://github.com/curl/curl/pull/18665\n","parents":["d1d5855689a29ee0ebc3ee5abd34959cfc8530d4"],"tree_hash":"d735328b1781e02865ea3fc9fa9a3b0132ba9f5c"}