curl / Mailing Lists / curl-library / Single Mail

curl-library

Re: http_proxy environment variable

From: Daniel Stenberg via curl-library <curl-library_at_cool.haxx.se>
Date: Thu, 13 Sep 2018 15:18:02 +0200 (CEST)

On Thu, 13 Sep 2018, Colin Ngam via curl-library wrote:

> Doc says libcurl usings http_proxy if set. I did a simple test and it is
> ignored.

My test says differently:

$ http_proxy=foooo:9999 curl localhost -v
* Rebuilt URL to: localhost/
* Uses proxy env variable http_proxy == 'foooo:9999'
* Could not resolve proxy: foooo
* Closing connection 0

-- 
  / daniel.haxx.se
-------------------------------------------------------------------
Unsubscribe: https://cool.haxx.se/list/listinfo/curl-library
Etiquette:   https://curl.haxx.se/mail/etiquette.html
Received on 2018-09-13