From 59ca4da2ee9cf71249571594d4dbd68cc79effd0 Mon Sep 17 00:00:00 2001 From: "bengr@chromium.org" Date: Thu, 6 Feb 2014 00:45:29 +0000 Subject: Bypass data reduction proxy if response not via it The change verifies that a request sent to the data reduction proxy has a corresponding response that contains the data reduction proxy's Via header. BUG=335633 Review URL: https://codereview.chromium.org/144653007 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@249184 0039d316-1c4b-4281-b951-d872f2087c98 --- net/proxy/proxy_service.h | 3 +++ 1 file changed, 3 insertions(+) (limited to 'net/proxy') diff --git a/net/proxy/proxy_service.h b/net/proxy/proxy_service.h index 1f77ad7..4755ed8 100644 --- a/net/proxy/proxy_service.h +++ b/net/proxy/proxy_service.h @@ -286,6 +286,9 @@ class NET_EXPORT ProxyService : public NetworkChangeNotifier::IPAddressObserver, // Bypass the proxy because of any other error. ERROR_BYPASS, + // Bypass the proxy because responses appear not to be coming via it. + MISSING_VIA_HEADER, + // This must always be last. BYPASS_EVENT_TYPE_MAX }; -- cgit v1.1