cURL / Mailing Lists / curl-library / Single Mail

curl-library

Re: malformed multipart/form-data with zero-byte section?

From: Mohun Biswas <m_biswas_at_mailinator.com>
Date: Mon, 25 Oct 2004 07:36:45 -0400

Daniel Stenberg wrote:
> On Sun, 24 Oct 2004, Mohun Biswas wrote:
>
>> This has worked fine for quite a while but I just ran into a special
>> case. When the file to be uploaded has zero length the FileUpload
>> parser hangs on the server side. A little network tracing reveals
>> that zero-length files uploaded via the code above have no closing
>> boundary delimiter.
>
>
> I could easily repeat this problem, and this patch seems to correct it
> for me:

Yes! Thanks for the quick turnaround!

-Mohun
Received on 2004-10-25