]> git.ipfire.org Git - thirdparty/squid.git/commitdiff
Mark verified intercept traffic correctly after DNS lookup
authorAlexander Komyagin <komyagin@altell.ru>
Wed, 18 Apr 2012 22:28:06 +0000 (10:28 +1200)
committerAmos Jeffries <squid3@treenet.co.nz>
Wed, 18 Apr 2012 22:28:06 +0000 (10:28 +1200)
src/client_side_request.cc

index 9f9285166f25bc24fa3b47802af8299931f1fd15..96dfe5bcd7e5d64722b40766655da2eff1a587d6 100644 (file)
@@ -540,6 +540,7 @@ ClientRequestContext::hostHeaderIpVerify(const ipcache_addrs* ia, const DnsLooku
         for (int i = 0; i < ia->count; i++) {
             if (clientConn->local.matchIPAddr(ia->in_addrs[i]) == 0) {
                 debugs(85, 3, HERE << "validate IP " << clientConn->local << " possible from Host:");
+                http->request->flags.hostVerified = 1;
                 http->doCallouts();
                 return;
             }