cURL
Haxx ad
libcurl

curl's project page on SourceForge.net

Sponsors:
Haxx

cURL > Mailing List > Monthly Index > Single Mail

curl-users Mailing List Archives

Re: Common HTTP proxy authentication for curl and libcurl

From: Daniel Stenberg <daniel-curl_at_haxx.se>
Date: Tue, 9 Aug 2005 00:15:05 +0200 (CEST)

On Mon, 8 Aug 2005, Dirk Behme wrote:

> With git the issue is now that it uses a combination of curl in script files
> _and_ libcurl in compiled source code. Is there any possibility to tell
> command line curl _and_ libcurl proxy & port & user ( & passwd) in a common
> way?

Yes, by passing the proxy name (with user + password) using the environment
variable 'http_proxy'.

> I asked on git mailing list, and they told me that curl in git scripts and
> libcurl in executables will evaluate .netrc. But as I understand it, with
> .netrc it isn't possible to specify proxy settings like above?

Correct, .netrc is an old thing used for ftp and afaik there are no "standard"
keywords for proxy or proxy authentication and thus curl and libcurl don't
support any such.

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

These mail archives are generated by hypermail.

donate! Page updated November 12, 2010.
web site info

File upload with ASP.NET