cURL / Mailing Lists / curl-library / Single Mail

curl-library

Re: Problems specifying proxy address

From: Daniel Stenberg <daniel-curl_at_haxx.se>
Date: Wed, 31 Mar 2004 08:36:41 +0200 (CEST)

On Wed, 31 Mar 2004, Paul Johnson wrote:

> I got myself into trouble by passing a local string into the proxy address
> setup and that was corrupting as it's not copied inside curl and I had
> assumed it was. Did anyone run into this before ?

Many people have. Most of them blame libcurl for a while until they discover
they didn't read the docs properly! ;-)

> If so, maybe you found the same deal with another of the functions ?

All options that pass strings to the library are subject to the same rules.
This is documented.

-- 
     Daniel Stenberg -- http://curl.haxx.se -- http://daniel.haxx.se
      Dedicated custom curl help for hire: http://haxx.se/curl.html
Received on 2004-03-31