cURL / Mailing Lists / curl-library / Single Mail

curl-library

Re: Impossible to POST binary data with CURLOPT_POSTFIELDS

From: Spacen Jasset <spacenjasset_at_yahoo.co.uk>
Date: Mon, 15 Oct 2007 22:17:29 +0100

Patrick Monnerat wrote:
> Fixed in CVS:
> _ CURLOPT_POSTFIELDS is now back to static (non-copy)
> _ CURLOPT_COPYPOSTFIELDS option added to support copy mode: if
> CURLOPT_POSTFIELDSIZE is needed, it must be used prior to
> CURLOPT_COPYPOSTFIELDS and not altered after, unless another
> CURLOPT_POSTFIELDS/CURLOPT_COPYPOSTFIELDS overwrites the former.
> _ CURLOPT_POSTFIELDSIZE_LARGE may be used instead of
> CURLOPT_POSTFIELDSIZE for CURLOPT_COPYPOSTFIELDS providing the given
> size fits in a size_t.
>
Jolly good chaps!
Received on 2007-10-15