curl / Mailing Lists / curl-users / Single Mail
Buy commercial curl support from WolfSSL. We help you work out your issues, debug your libcurl applications, use the API, port to new platforms, add new features and more. With a team lead by the curl founder himself.

Re: '--socks5-hostname' and 'CURL_DISABLE_PROXY'

From: Daniel Stenberg via curl-users <curl-users_at_lists.haxx.se>
Date: Wed, 9 Mar 2022 22:54:06 +0100 (CET)

On Wed, 9 Mar 2022, Dan Fandrich via curl-users wrote:

>> $ curl --socks5-hostname 127.0.0.1:9050 https://www.vg.no
>> curl: proxy support is disabled in this libcurl
>
> What happens if the user specifies a proxy with an environment variable like
> "http_proxy"?

Good point!

Since it has no proxy awareness at all then, it will not recognize the
environment variable and it will just continue to "hit" the target server
directly.

-- 
  / daniel.haxx.se
  | Commercial curl support up to 24x7 is available!
  | Private help, bug fixes, support, ports, new features
  | https://curl.se/support.html
-- 
Unsubscribe: https://lists.haxx.se/listinfo/curl-users
Etiquette:   https://curl.haxx.se/mail/etiquette.html
Received on 2022-03-09