]> err.no Git - varnish/commit
Reject backend hostnames that resolve to multiple IPv4 or multiple
authorphk <phk@d4fa192b-c00b-0410-8231-f00ffab90ce4>
Fri, 11 Jul 2008 10:12:52 +0000 (10:12 +0000)
committerphk <phk@d4fa192b-c00b-0410-8231-f00ffab90ce4>
Fri, 11 Jul 2008 10:12:52 +0000 (10:12 +0000)
commit2d26516f8e6284905166677c33cdf04a091384c7
treed728c5a3f49442e53bdbe3bf3a0c3b70fa7a4f6c
parentc93d9f3ce5dc190200aa8ccdfceb98512f8ee9a3
Reject backend hostnames that resolve to multiple IPv4 or multiple
IPv6 addresses, but accept one of each.

Emit a bytestring representation of the sockaddr we found for each
of these, into the shared object, so we avoid doing a DNS lookup
again in the cacher.

git-svn-id: svn+ssh://projects.linpro.no/svn/varnish/trunk@2934 d4fa192b-c00b-0410-8231-f00ffab90ce4
varnish-cache/include/vrt.h
varnish-cache/lib/libvcl/vcc_backend.c
varnish-cache/lib/libvcl/vcc_compile.h
varnish-cache/lib/libvcl/vcc_fixed_token.c