cURL
Haxx ad
libcurl

curl's project page on SourceForge.net

Sponsors:
Haxx

cURL > Mailing List > Monthly Index > Single Mail

curl-tracker Archives

[ curl-Bugs-3482927 ] curl http resume doesn't interpret 416 correctly

From: SourceForge.net <noreply_at_sourceforge.net>
Date: Sun, 06 May 2012 15:18:37 -0700

Bugs item #3482927, was opened at 2012-02-01 17:24
Message generated for change (Settings changed) made by bagder
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=100976&aid=3482927&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: None
Priority: 5
Private: No
Submitted By: Brian Harring (ferringb)
Assigned to: Daniel Stenberg (bagder)
Summary: curl http resume doesn't interpret 416 correctly

Initial Comment:
This is inducable in 7.24.0; following commands replicate it.

rm linux-3.2.2.tar.bz2
curl --output linux-3.2.2.tar.bz2 http://www.kernel.org/pub/linux/kernel/v3.0/linux-3.2.2.tar.bz2 && \
curl --output linux-3.2.2.tar.bz2 http://www.kernel.org/pub/linux/kernel/v3.0/linux-3.2.2.tar.bz2 -C -

The returned headers are 416; specifically, the file is completed. Curl however does not handle it correctly, instead assuming resume isn't possible.

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

Comment By: Daniel Stenberg (bagder)
Date: 2012-02-19 14:23

Message:
Thanks for reporting this issue and helping us improve curl and libcurl.

We're awaiting feedback in this issue. Due to this, I have set the state of
this issue to pending and it will automatically get closed later on unless
we get further info.

Please consider answering the outstanding questions or providing the
missing info so that we can proceed to resolve this issue!

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

Comment By: Daniel Stenberg (bagder)
Date: 2012-02-16 03:41

Message:
I don't understand. Can you please add the exact headers this server
returns for the command lines you run to illustrate how curl does it wrong?
416 is quite explicitly about when the range request cannot be satisfied.

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

You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=100976&aid=3482927&group_id=976
Received on 2012-05-07

These mail archives are generated by hypermail.

donate! Page updated January 05, 2012.
web site info

File upload with ASP.NET