diff options
author | des <des@FreeBSD.org> | 2007-12-18 11:03:07 +0000 |
---|---|---|
committer | des <des@FreeBSD.org> | 2007-12-18 11:03:07 +0000 |
commit | f0e1aa6917a14f5641e43cf944cacb2e1aa83223 (patch) | |
tree | f5124fad1675d5be07f4721b1851e7bf4d8359a5 /lib/libfetch/common.h | |
parent | ddf13e4c294f0883bedec65186a9b10371ae7a87 (diff) | |
download | FreeBSD-src-f0e1aa6917a14f5641e43cf944cacb2e1aa83223.zip FreeBSD-src-f0e1aa6917a14f5641e43cf944cacb2e1aa83223.tar.gz |
Add support for the NO_PROXY / no_proxy environment variable as used by
lynx, curl etc. Note that this patch differs significantly from that
in the PR, as the submitter refined it after submitting the PR.
PR: 110388
Submitted by: Alexander Pohoyda <alexander.pohoyda@gmx.net>
MFC after: 3 weeks
Diffstat (limited to 'lib/libfetch/common.h')
-rw-r--r-- | lib/libfetch/common.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/libfetch/common.h b/lib/libfetch/common.h index 2382eb0..05bee03 100644 --- a/lib/libfetch/common.h +++ b/lib/libfetch/common.h @@ -90,6 +90,7 @@ int fetch_close(conn_t *); int fetch_add_entry(struct url_ent **, int *, int *, const char *, struct url_stat *); int fetch_netrc_auth(struct url *url); +int fetch_no_proxy_match(const char *); #define ftp_seterr(n) fetch_seterr(ftp_errlist, n) #define http_seterr(n) fetch_seterr(http_errlist, n) |