curl-library
RE: formdata.c fix for file upload
From: Daniel Stenberg <daniel-curl_at_haxx.se>
Date: Fri, 1 Apr 2005 09:41:34 +0200 (CEST)
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 -- http://curl.haxx.se -- http://daniel.haxx.se Commercial curl and libcurl Technical Support: http://haxx.se/curl.htmlReceived on 2005-04-01