diff options
author | Daniel Stenberg <daniel@haxx.se> | 2009-01-25 23:26:25 +0000 |
---|---|---|
committer | Daniel Stenberg <daniel@haxx.se> | 2009-01-25 23:26:25 +0000 |
commit | 5aeef9c1c87f2f72f10807a609ced1976ab46cd2 (patch) | |
tree | 2989dc65cfaf49acc6e014c256b920dc1e01b95b /include/curl/curl.h | |
parent | ddd3fe594861e671ea4951371f4a3c0885c3f24f (diff) |
- Craig A West brought CURLOPT_NOPROXY and the corresponding --noproxy option.
They basically offer the same thing the NO_PROXY environment variable only
offered previously: list a set of host names that shall not use the proxy
even if one is specified.
Diffstat (limited to 'include/curl/curl.h')
-rw-r--r-- | include/curl/curl.h | 11 |
1 files changed, 10 insertions, 1 deletions
diff --git a/include/curl/curl.h b/include/curl/curl.h index e94ff5f9d..830e8a1d8 100644 --- a/include/curl/curl.h +++ b/include/curl/curl.h @@ -7,7 +7,7 @@ * | (__| |_| | _ <| |___ * \___|\___/|_| \_\_____| * - * Copyright (C) 1998 - 2008, Daniel Stenberg, <daniel@haxx.se>, et al. + * Copyright (C) 1998 - 2009, Daniel Stenberg, <daniel@haxx.se>, et al. * * This software is licensed as described in the file COPYING, which * you should have received as part of this distribution. The terms @@ -1150,6 +1150,15 @@ typedef enum { CINIT(PROXYUSERNAME, OBJECTPOINT, 175), CINIT(PROXYPASSWORD, OBJECTPOINT, 176), + /* Comma separated list of hostnames defining no-proxy zones. These should + match both hostnames directly, and hostnames within a domain. For + example, local.com will match local.com and www.local.com, but NOT + notlocal.com or www.notlocal.com. For compatibility with other + implementations of this, .local.com will be considered to be the same as + local.com. A single * is the only valid wildcard, and effectively + disables the use of proxy. */ + CINIT(NOPROXY, OBJECTPOINT, 177), + CURLOPT_LASTENTRY /* the last unused */ } CURLoption; |