curl-library
Re: FTP upload causes SEGV
Date: Sun, 24 Mar 2002 18:45:38 +0100 (MET)
On Sun, 24 Mar 2002, J. Cone wrote:
> The core-dump was because I was passing something silly to
> CURLOPT_ERRORBUFFER.
Ah, that is nastiness.
> The "Couldn't resolve host ..." that libCurl was trying to report was
> because I set CURLOPT_NETRC, and this apparently precludes specifying
> usernames and passwords in URLs.
It failed resolving a host name due to CURLOPT_NETRC? I don't understand how
that happened?
> Does anyone think that a ~don't care~ option for CURLOPT_NETRC would be
> useful? Given some hints about where to start, I can imagine doing the
> typing.
What would the "don't care" option for CURLOPT_NETRC atcually do?
The .netrc stuff is parsed by code in lib/netrc.c, the option is set in
lib/url.c and the option is used at two (other) places in lib/url.c.
-- Daniel Stenberg -- curl groks URLs -- http://curl.haxx.se/Received on 2002-03-24