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: Wed, 01 Feb 2012 17:24:12 -0800

Bugs item #3482927, was opened at 2012-02-01 17:24
Message generated for change (Tracker Item Submitted) made by ferringb
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: Open
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.

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

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

These mail archives are generated by hypermail.

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

File upload with ASP.NET