cURL / Mailing Lists / curl-library / Single Mail


Re: Incorrect HTTP range request with CURLOPT_RESUME_FROM_LARGE

From: Tor Arntsen <>
Date: Mon, 30 Jun 2008 12:02:13 +0200

On Sat, Jun 28, 2008 at 6:23 PM, Daniel Stenberg <> wrote:
> On Sat, 28 Jun 2008, Stephen Collyer wrote:

>> One point though: isn't the format "bytes=-5248835289980310801-" an
>> illegal range request ? I wasn't expecting the leading "-" to be there.
> It looks like a problem yes and if it persists after your large file fix
> I'll be intrested in further details on how we can repeat it.

I think the leading "-" is correct (in a weird sense..) in this case,
because it's only as a negative number that that value ends up with
matching the original number (3173103) in the four last bytes.

./hx -5248835289980310801
./hx 5248835289980310801
Received on 2008-06-30