Bugs item #1543096, was opened at 2006-08-19 06:37
Message generated for change (Tracker Item Submitted) made by Item Submitter
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=100976&aid=1543096&group_id=976
Please note that this message will contain a full copy of the comment thread,
including the initial issue submission, for this request,
not just the latest update.
Category: http
Group: wrong behaviour
Status: Open
Resolution: None
Priority: 5
Submitted By: Nobody/Anonymous (nobody)
Assigned to: Daniel Stenberg (bagder)
Summary: curl_easy_perform() return CURLE_PARTIAL_FILE
Initial Comment:
When using libcurl and write custom upload code, the
library incorrectly calculate downloaded data in PUT
request. As result curl_easy_perform() return
CURLE_PARTIAL_FILE with logging that somthing data
remaining unread.
The diff bellow should solve this problem.
diff for file transfer.c, libcurl-7.15.5
1149a1150,1153
> /* also we need to add this lost pice
of body
> to recv byte counter to prevent
PARTIAL_FILE problem */
> k->bytecount += k->hbuflen;
>
----------------------------------------------------------------------
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=100976&aid=1543096&group_id=976
Received on 2006-08-19