summaryrefslogtreecommitdiff
path: root/src/reqs.h
diff options
context:
space:
mode:
authorMichael Adam <obnox@samba.org>2013-11-08 11:50:57 +0100
committerMichael Adam <obnox@samba.org>2013-11-09 13:34:33 +0100
commitd0732f9adeb523422e755bfc11d03e9cbccc99f6 (patch)
tree0916ecaa296e461fcb31581488d218fd3c3fdf48 /src/reqs.h
parente40b91974aae069aef5c2d2d1e12b4618289646d (diff)
downloadtinyproxy-d0732f9adeb523422e755bfc11d03e9cbccc99f6.tar.gz
tinyproxy-d0732f9adeb523422e755bfc11d03e9cbccc99f6.zip
[BB#81] allow listening on multiple families when no Listen is provided in config
This is achieved by not stopping at the first result of getaddrinfo that we managed to listen on: Without "Listen" in the config, we call getraddrinfo with NULL address. With AI_PASSIVE, this gives results for both IPv4 and IPv6 wildcard addresses (if both are supported). This lets tinyproxy listen on both IPv4 and IPv6 wildcard if the system supports them. Signed-off-by: Michael Adam <obnox@samba.org>
Diffstat (limited to '')
0 files changed, 0 insertions, 0 deletions