curl / Mailing Lists / curl-library / Single Mail
Buy commercial curl support from WolfSSL. We help you work out your issues, debug your libcurl applications, use the API, port to new platforms, add new features and more. With a team lead by the curl founder himself.

Re: Serialisation problem

From: m brandenberg via curl-library <>
Date: Thu, 9 Jun 2022 16:49:35 +0000 ()

On Thu, 9 Jun 2022, J via curl-library wrote:

> I'm struggling to understand what the issue might be, but I'm getting this
> error:

From the documentation for CURLOPT_POSTFIELDS:

The data pointed to is NOT copied by the library: as a consequence, it must
be preserved by the calling application until the associated transfer
finishes. This behavior can be changed (so libcurl does copy the data) by
setting the CURLOPT_COPYPOSTFIELDS option.

Give that a try...


Received on 2022-06-09