cURL / Mailing Lists / curl-library / Single Mail

curl-library

Re: BUG? CONTENT_LENGTH for 'file' scheme without actually reading the file does not work

From: Daniel Stenberg <daniel_at_haxx.se>
Date: Tue, 3 Feb 2009 23:26:13 +0100 (CET)

On Tue, 3 Feb 2009, Hidemoto Nakada wrote:

> I have take a look into the code and found that no code to set the
> progress.size_dl exists in the code path for NOBODY and HEADER.
>
> I added two lines of code as attached patch, and it looks like works fine.
>
> Is this a bug, or am i missing something?

Ah it does look like an oversight and yes your patch was fine and has now been
committed! Thanks!

Just a minor note: your patch was reversed...

-- 
  / daniel.haxx.se
Received on 2009-02-03