| Index: components/data_reduction_proxy/core/browser/data_reduction_proxy_pingback_client.cc
|
| diff --git a/components/data_reduction_proxy/core/browser/data_reduction_proxy_pingback_client.cc b/components/data_reduction_proxy/core/browser/data_reduction_proxy_pingback_client.cc
|
| index 820370ff0fe360dc20385ab7d4b2faa198b25a6f..93178372cbbac724254e8eca305f993110a23d6a 100644
|
| --- a/components/data_reduction_proxy/core/browser/data_reduction_proxy_pingback_client.cc
|
| +++ b/components/data_reduction_proxy/core/browser/data_reduction_proxy_pingback_client.cc
|
| @@ -145,9 +145,9 @@ void DataReductionProxyPingbackClient::CreateFetcherForDataAndStart() {
|
| current_fetcher_->SetLoadFlags(net::LOAD_BYPASS_PROXY);
|
| current_fetcher_->SetUploadData("application/x-protobuf", serialized_request);
|
| current_fetcher_->SetRequestContext(url_request_context_);
|
| - // Configure max retries to be at most kMaxRetries times for 5xx errors.
|
| + // |current_fetcher_| should not retry on 5xx errors since the server may
|
| + // already be overloaded.
|
| static const int kMaxRetries = 5;
|
| - current_fetcher_->SetMaxRetriesOn5xx(kMaxRetries);
|
| current_fetcher_->SetAutomaticallyRetryOnNetworkChanges(kMaxRetries);
|
| current_fetcher_->Start();
|
| }
|
|
|