|
|
cURL Mailing List Monthly Index Single Mail
curl-tracker mailing list Archives
[ curl-Bugs-3048197 ] Incorrect data uploaded in case of CURLE_SEND_ERROR
From: SourceForge.net <noreply_at_sourceforge.net>
Date: Wed, 18 Aug 2010 22:59:59 +0000
Bugs item #3048197, was opened at 2010-08-19 01:59
Please note that this message will contain a full copy of the comment thread,
Initial Comment:
The workaround for this was to add the size reported by the progressCallback in a totalTillNow variable, and after any network error that would require a resume subtract CURL_MAX_WRITE_SIZE*8 from totalTillNow, and setup a REST upload with the calculated starting point. (See #3048174 for issues with CURLOPT_RESUME_FROM).
I'm not sure if my workaround is the best solution, but it works. OTOH, that behavior when uploading and getting disconnected leads to corrupted files at destination and that is IMO very wrong...
libcurl 7.21.1
----------------------------------------------------------------------
You can respond by visiting:
These mail archives are generated by hypermail. |
Page updated November 12, 2010.
web site info