cURL / Mailing Lists / curl-library / Single Mail

curl-library

Re: Question about Content-type: multipart

From: Daniel Stenberg <daniel_at_haxx.se>
Date: Mon, 7 Mar 2016 09:31:45 +0100 (CET)

On Mon, 7 Mar 2016, Daniel Stenberg wrote:

>> One thing I think the problem is in lib/http.c
>>
>> else if(data->set.postfields)
>> expectsend = (curl_off_t)strlen(data->set.postfields);
>
> Hm. That doesn't look right...

That said, your use case won't trigger any problem because of that as far as I
can see and one of your primary problems is probably that you didn't use
CURLOPT_POSTFIELDSIZE.

-- 
  / daniel.haxx.se
-------------------------------------------------------------------
List admin: https://cool.haxx.se/list/listinfo/curl-library
Etiquette:  https://curl.haxx.se/mail/etiquette.html
Received on 2016-03-07