Index: components/data_reduction_proxy/core/browser/data_reduction_proxy_network_delegate.cc |
diff --git a/components/data_reduction_proxy/core/browser/data_reduction_proxy_network_delegate.cc b/components/data_reduction_proxy/core/browser/data_reduction_proxy_network_delegate.cc |
index 6e464cbad1388c944ab1591176f9d8f2492451b0..7a5f5dcc40fba7fac27a9805e25324372f900f4d 100644 |
--- a/components/data_reduction_proxy/core/browser/data_reduction_proxy_network_delegate.cc |
+++ b/components/data_reduction_proxy/core/browser/data_reduction_proxy_network_delegate.cc |
@@ -292,6 +292,8 @@ void DataReductionProxyNetworkDelegate::OnBeforeSendHeadersInternal( |
data = DataReductionProxyData::GetDataAndCreateIfNecessary(request); |
if (data) |
data->set_used_data_reduction_proxy(true); |
+ |
+ headers->RemoveHeader(chrome_proxy_header()); |
VerifyHttpRequestHeaders(false, *headers); |
return; |
} |
@@ -319,6 +321,7 @@ void DataReductionProxyNetworkDelegate::OnBeforeSendHeadersInternal( |
lofi_decider->RemoveAcceptTransformHeader(headers); |
} |
RemoveChromeProxyECTHeader(headers); |
+ headers->RemoveHeader(chrome_proxy_header()); |
VerifyHttpRequestHeaders(false, *headers); |
return; |
} |