| Index: components/data_reduction_proxy/browser/data_reduction_proxy_protocol.cc
|
| diff --git a/components/data_reduction_proxy/browser/data_reduction_proxy_protocol.cc b/components/data_reduction_proxy/browser/data_reduction_proxy_protocol.cc
|
| index 4713a815aab9b005639c6475e33232651ff3565c..6c4fc8723ecc5d493757cc1d662c4aacf7ebfe49 100644
|
| --- a/components/data_reduction_proxy/browser/data_reduction_proxy_protocol.cc
|
| +++ b/components/data_reduction_proxy/browser/data_reduction_proxy_protocol.cc
|
| @@ -90,10 +90,12 @@ bool MaybeBypassProxyAndPrepareToRetry(
|
| bypass_type);
|
| }
|
|
|
| - MarkProxiesAsBadUntil(request,
|
| - data_reduction_proxy_info.bypass_duration,
|
| - data_reduction_proxy_info.bypass_all,
|
| - data_reduction_proxy_type_info.proxy_servers);
|
| + if (data_reduction_proxy_info.mark_proxies_as_bad) {
|
| + MarkProxiesAsBadUntil(request,
|
| + data_reduction_proxy_info.bypass_duration,
|
| + data_reduction_proxy_info.bypass_all,
|
| + data_reduction_proxy_type_info.proxy_servers);
|
| + }
|
|
|
| // Only retry idempotent methods.
|
| if (!IsRequestIdempotent(request))
|
|
|