cURL
Haxx ad
libcurl

curl's project page on SourceForge.net

Sponsors:
Haxx

cURL > Mailing List > Monthly Index > Single Mail

curl-library Mailing List Archives

Re: Incorrect HTTP range request with CURLOPT_RESUME_FROM_LARGE

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

On Sat, Jun 28, 2008 at 6:23 PM, Daniel Stenberg <daniel_at_haxx.se> 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.

-Tor
./hx -5248835289980310801
0xb728641d00306aef
./hx 5248835289980310801
0x48d79be2ffcf9511
Received on 2008-06-30

These mail archives are generated by hypermail.

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

File upload with ASP.NET