cURL / Mailing Lists / curl-library / Single Mail

curl-library

Re: CURLOPT_POSTFIELDS

From: Daniel Stenberg <daniel-curl_at_haxx.se>
Date: Mon, 30 May 2005 23:14:10 +0200 (CEST)

On Mon, 30 May 2005, Tomas Franzén wrote:

> When passing data to curl_easy_setopt for CURLOPT_POSTFIELDS, does cURL copy
> the post data, or do I need to keep my data around until the transfer is
> over?

Like all 'char *' data you pass to libcurl, you need to keep it around until
libcurl is done.

-- 
  Commercial curl and libcurl Technical Support: http://haxx.se/curl.html
Received on 2005-05-30