]> granicus.if.org Git - curl/commitdiff
docs: clarify the use of environment variables for proxy
authorMichael Kaufmann <mail@michael-kaufmann.ch>
Sun, 24 Sep 2017 17:58:37 +0000 (19:58 +0200)
committerMichael Kaufmann <mail@michael-kaufmann.ch>
Thu, 28 Sep 2017 19:29:39 +0000 (21:29 +0200)
Closes #1921

docs/libcurl/opts/CURLOPT_NOPROXY.3
docs/libcurl/opts/CURLOPT_PROXY.3

index a1ee476f6d7bc50bcfd1897b554e7f4cb6625309..61500fc05f6a61f33e39d27ae85095e5a531b475 100644 (file)
@@ -41,8 +41,13 @@ If the name in the noproxy list has a leading period, it is a domain match
 against the provided host name. This way ".example.com" will switch off proxy
 use for both "www.example.com" as well as for "foo.example.com".
 
+Setting the noproxy string to "" (an empty string) will explicitly enable the
+proxy for all host names, even if there is an environment variable set for it.
+
 The application does not have to keep the string around after setting this
 option.
+.SH "Environment variables"
+See \fICURLOPT_PROXY(3)\fP
 .SH DEFAULT
 NULL
 .SH PROTOCOLS
index c543c2c5d78a8baedac078245c5e973f91fb54e7..8e93309f109269b18e7038c78fcd0b0be271c18a 100644 (file)
@@ -84,7 +84,8 @@ names to not use a proxy for (even if one of the previous mention variables
 are set). That is the exact equivalent of setting the \fICURLOPT_NOPROXY(3)\fP
 option.
 
-The \fICURLOPT_PROXY(3)\fP option overrides environment variables.
+The \fICURLOPT_PROXY(3)\fP and \fICURLOPT_NOPROXY(3)\fP options override
+environment variables.
 .SH DEFAULT
 Default is NULL, meaning no proxy is used.