cURL
Haxx ad
libcurl

curl's project page on SourceForge.net

Sponsors:
Haxx

cURL > Mailing List > Monthly Index > Single Mail

curl-tracker mailing list Archives

[ curl-Bugs-1543096 ] curl_easy_perform() return CURLE_PARTIAL_FILE

From: SourceForge.net <noreply_at_sourceforge.net>
Date: Sun, 03 Sep 2006 23:42:58 -0700

Bugs item #1543096, was opened at 2006-08-19 15:37
Message generated for change (Comment added) made by bagder
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: Closed
>Resolution: Invalid
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;
>

----------------------------------------------------------------------

>Comment By: Daniel Stenberg (bagder)
Date: 2006-09-04 08:42

Message:
Logged In: YES
user_id=1110

No response

----------------------------------------------------------------------

Comment By: Daniel Stenberg (bagder)
Date: 2006-08-29 23:30

Message:
Logged In: YES
user_id=1110

Please respond or I will close this report with no further
action.

----------------------------------------------------------------------

Comment By: Daniel Stenberg (bagder)
Date: 2006-08-19 17:23

Message:
Logged In: YES
user_id=1110

Can you please elaborate on when exactly you get the
incorrect error code?

Also, please make diffs with -u so that we can apply it easily.

----------------------------------------------------------------------

You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=100976&aid=1543096&group_id=976
Received on 2006-09-04

These mail archives are generated by hypermail.

donate! Page updated November 12, 2010.
web site info

File upload with ASP.NET