cURL / Mailing Lists / curl-library / Single Mail

curl-library

Re: CURLOPT_RANGE reset for ftp bugfix

From: Daniel Stenberg <daniel_at_haxx.se>
Date: Fri, 16 Feb 2007 15:37:13 +0100 (CET)

On Fri, 16 Feb 2007, Michal Marek wrote:

> conn->data->reqdata.maxdownload) was removed from url.c. My understanding is
> that protocols that make use of maxdownload have to maintain it on their
> own, correct? If so, then the attached patch should fix the problem reported
> in curl-users:

I don't think it should (need to) touch data->reqdata.resume_from as that will
break CURLOPT_RESUME_FROM(_LARGE) if used at the same time. Although of course
I'm not sure what the correct behaviour would be if you use *both* the resume
and the range options...

-- 
  Commercial curl and libcurl Technical Support: http://haxx.se/curl.html
Received on 2007-02-16