cURL / Mailing Lists / curl-library / Single Mail


RE: formdata.c fix for file upload

From: Daniel Stenberg <>
Date: Fri, 1 Apr 2005 09:41:34 +0200 (CEST)

On Thu, 31 Mar 2005, Dylan Salisbury wrote:

> Stepping through this code, I realized that a FORM_FILE element in the list
> is in fact always followed by FORM_DATA, so I suppose this fix to
> Curl_FormReader is for a data condition that the rest of libcurl never calls
> it with.

So do you still consider this patch necessary?

If so, can you tell us a way to repeat the case in which it gets used? I would
like to add a test case for it.

      Daniel Stenberg -- --
  Commercial curl and libcurl Technical Support:
Received on 2005-04-01