kikuchan
42e421e7bb
Move code into a new function, to illustrate upcoming bugfix
2018-04-12 20:44:54 +09:00
Michael Adam
badb6435d6
upstream: Fix case of empty string domain.
...
Found by compiler note.
Signed-off-by: Michael Adam <obnox@samba.org>
2018-03-23 01:45:10 +01:00
rofl0r
057cf06805
config: unify upstream syntax for http,socks4,socks5 and none
...
closes #50
2018-02-25 23:52:23 +00:00
rofl0r
39132b9787
rename members of proxy_type enum to have a common prefix
...
and add a NONE member.
2018-02-25 23:52:23 +00:00
rofl0r
bf76aeeba1
implement HTTP basic auth for upstream proxies
...
loosely based on @valenbg1's code from PR #38
closes #38
closes #96
2018-02-25 15:13:45 +00:00
Gonzalo Tornaria
8906b0734e
add SOCKS upstream proxy support (socks4/socks5)
...
original patch submitted in 2006 to debian mailing list:
https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=392848%29#12
this version was rebased to git and updated by Russ Dill <russ.dill@gmail.com>
in 2015 (the original patch used a different config file format).
as discussed in #40 .
commit message by @rofl0r.
2018-02-06 16:11:39 +00:00
Michael Adam
52cad36352
upstream: clarify debug messages
...
There are frequent questions "what does 'No proxy for ...' mean?"
on the mailing list and IRC. Be more specific. (No upstream proxy ...)
Correspondingly, log "Found upstream proxy ... for ..."
2010-08-24 22:46:10 +02:00
Michael Adam
21aa3ecf60
upstream: add free_upstream_list ()
...
Michael
2009-12-07 00:22:36 +01:00
Michael Adam
4a8ea0d23b
upstream: Add upstream list parameter to upstream_get()
...
to abstract it from the concrete list in the config struct.
Now upstream.c does not use any reference to config any more.
Michael
2009-12-07 00:22:36 +01:00
Michael Adam
22fba83df2
upstream: add upstream list parameter to upstream_add()
...
to abstract it from the concrete list in the config struct.
Michael
2009-12-07 00:22:28 +01:00
Michael Adam
fd987e97f0
move handling of upstream list to new module upstream.{c,h}
...
Michael
2009-12-06 13:17:18 +01:00