[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[GNUnet-SVN] [gnurl] 182/254: CURLOPT_PROXY.3: describe the environment
From: |
gnunet |
Subject: |
[GNUnet-SVN] [gnurl] 182/254: CURLOPT_PROXY.3: describe the environment variables more |
Date: |
Sat, 17 Jun 2017 16:53:34 +0200 |
This is an automated email from the git hooks/post-receive script.
ng0 pushed a commit to annotated tag gnurl-7.54.1
in repository gnurl.
commit dd97551746dca747c2e624ca81cadb6985199826
Author: Daniel Stenberg <address@hidden>
AuthorDate: Tue May 30 18:05:33 2017 +0200
CURLOPT_PROXY.3: describe the environment variables more
---
docs/libcurl/opts/CURLOPT_PROXY.3 | 16 ++++++++++++----
1 file changed, 12 insertions(+), 4 deletions(-)
diff --git a/docs/libcurl/opts/CURLOPT_PROXY.3
b/docs/libcurl/opts/CURLOPT_PROXY.3
index 3398170b0..02de8f4b9 100644
--- a/docs/libcurl/opts/CURLOPT_PROXY.3
+++ b/docs/libcurl/opts/CURLOPT_PROXY.3
@@ -65,10 +65,6 @@ an impact on what other features of the library you can use,
such as
tunnel through the HTTP proxy. Such tunneling is activated with
\fICURLOPT_HTTPPROXYTUNNEL(3)\fP.
-libcurl respects the environment variables \fBhttp_proxy\fP, \fBftp_proxy\fP,
-\fBall_proxy\fP etc, if any of those are set. The \fICURLOPT_PROXY(3)\fP
-option does however override any possibly set environment variables.
-
Setting the proxy string to "" (an empty string) will explicitly disable the
use of a proxy, even if there is an environment variable set for it.
@@ -77,6 +73,18 @@ user + password.
The application does not have to keep the string around after setting this
option.
+.SH "Environment variables"
+libcurl respects the proxy environment variables named \fBhttp_proxy\fP,
+\fBftp_proxy\fP, \fBsftp_proxy\fP etc. If set, libcurl will use the specified
+proxy for that URL scheme. So for a "FTP://" URL, the \fBftp_proxy\fP is
+considered. \fBall_proxy\fP is used if no protocol specific proxy was set.
+
+If \fBno_proxy\fP (or \fBNO_PROXY\fP) is set, it can specify a list of host
+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 \fBCURLOPT_NOPROXY(3)\fP
+option.
+
+The \fICURLOPT_PROXY(3)\fP option overrides environment variables.
.SH DEFAULT
Default is NULL, meaning no proxy is used.
--
To stop receiving notification emails like this one, please contact
address@hidden
- [GNUnet-SVN] [gnurl] 172/254: docs/CURLOPT_SSLVERSION.3: Correct define name in example, (continued)
- [GNUnet-SVN] [gnurl] 172/254: docs/CURLOPT_SSLVERSION.3: Correct define name in example, gnunet, 2017/06/17
- [GNUnet-SVN] [gnurl] 205/254: test1537: dedicated tests of the URL (un)escape API calls, gnunet, 2017/06/17
- [GNUnet-SVN] [gnurl] 170/254: time: fix type conversions and compiler warnings, gnunet, 2017/06/17
- [GNUnet-SVN] [gnurl] 245/254: test1521: fixed OOM handling, gnunet, 2017/06/17
- [GNUnet-SVN] [gnurl] 191/254: opts: more than 100 more examples for man pages..., gnunet, 2017/06/17
- [GNUnet-SVN] [gnurl] 215/254: curl_sasl: fix unused-variable warning, gnunet, 2017/06/17
- [GNUnet-SVN] [gnurl] 207/254: test1538: verify the libcurl strerror API calls, gnunet, 2017/06/17
- [GNUnet-SVN] [gnurl] 184/254: opts: more examples added to man pages, gnunet, 2017/06/17
- [GNUnet-SVN] [gnurl] 229/254: test1121: use stricter types to work with typcheck-gcc, gnunet, 2017/06/17
- [GNUnet-SVN] [gnurl] 177/254: tests: removed some redundant empty <stdout> sections, gnunet, 2017/06/17
- [GNUnet-SVN] [gnurl] 182/254: CURLOPT_PROXY.3: describe the environment variables more,
gnunet <=
- [GNUnet-SVN] [gnurl] 241/254: setopt: check CURLOPT_ADDRESS_SCOPE option range, gnunet, 2017/06/17
- [GNUnet-SVN] [gnurl] 176/254: runtests.pl: removed <precommand> feature, gnunet, 2017/06/17
- [GNUnet-SVN] [gnurl] 199/254: curl-compilers.m4: escape square brackets in regex, gnunet, 2017/06/17
- [GNUnet-SVN] [gnurl] 217/254: libtest: fix implicit-fallthrough warnings with GCC 7, gnunet, 2017/06/17
- [GNUnet-SVN] [gnurl] 188/254: example/externalsocket.c: make it use CLOSESOCKETFUNCTION too, gnunet, 2017/06/17
- [GNUnet-SVN] [gnurl] 250/254: url: fix buffer overwrite with file protocol (CVE-2017-9502), gnunet, 2017/06/17
- [GNUnet-SVN] [gnurl] 240/254: cmake: Fix inconsistency regarding mbed TLS include directory, gnunet, 2017/06/17
- [GNUnet-SVN] [gnurl] 224/254: curl_ntlm_core: use Curl_raw_toupper instead of toupper, gnunet, 2017/06/17
- [GNUnet-SVN] [gnurl] 233/254: travis: let some builds *not* use --enable-debug, gnunet, 2017/06/17
- [GNUnet-SVN] [gnurl] 227/254: test1521: test *all* curl_easy_setopt options, gnunet, 2017/06/17