cURL / Mailing Lists / curl-users / Single Mail

curl-users

Re: curl and no_proxy syntax

From: Daniel Stenberg <daniel_at_haxx.se>
Date: Wed, 14 Nov 2007 11:48:54 +0100 (CET)

On Wed, 14 Nov 2007, Peter Love wrote:

> Is it possible to use the NO_PROXY environment variable to prevent proxy
> usage for all ports other than 80 and 443? Put another way, how can I setup
> env variables so curl only uses a proxy on standard http/https ports 80/443?

No, it's not possible. The NO_PROXY check is done on the host name only.

--
  Commercial curl and libcurl Technical Support: http://haxx.se/curl.html
Received on 2007-11-14