cURL / Mailing Lists / curl-library / Single Mail

curl-library

POSTing binary data doesn't work in 7.43.0

From: Stefan Bühler <buehler_at_teamviewer.com>
Date: Mon, 22 Jun 2015 18:22:02 +0200

Hi,

we use CURLOPT_POSTFIELDSIZE_LARGE and CURLOPT_POSTFIELDS to set the POST request body.

With 7.43.0 it seems to ignore the size and to use strlen() instead (i.e. it cuts the body after the first null byte).

I think https://github.com/bagder/curl/commit/ff7097f72c26a9d389f135f76cb28e10ca30f4c1 ("urldata: store POST size in state.infilesize too") broke it.

-- 
Best regards,
Stefan Bühler
-------------------------------------------------------------------
List admin: http://cool.haxx.se/list/listinfo/curl-library
Etiquette:  http://curl.haxx.se/mail/etiquette.html
Received on 2015-06-22