Bug 1242926 - Increase the max retry attempt number. r=mcmanus

This commit is contained in:
Masatoshi Kimura 2016-01-28 05:44:48 +09:00
parent fbf2580b8c
commit e7df5bd97a
2 changed files with 2 additions and 2 deletions

View File

@ -1330,7 +1330,7 @@ pref("network.http.max-persistent-connections-per-proxy", 32);
pref("network.http.request.max-start-delay", 10);
// If a connection is reset, we will retry it max-attempts times.
pref("network.http.request.max-attempts", 3);
pref("network.http.request.max-attempts", 6);
// Headers
pref("network.http.accept.default", "text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8");

View File

@ -143,7 +143,7 @@ nsHttpHandler::nsHttpHandler()
, mResponseTimeout(PR_SecondsToInterval(300))
, mResponseTimeoutEnabled(false)
, mNetworkChangedTimeout(5000)
, mMaxRequestAttempts(3)
, mMaxRequestAttempts(6)
, mMaxRequestDelay(10)
, mIdleSynTimeout(250)
, mH2MandatorySuiteEnabled(false)