Bug 1082261 - http 421 retry r=hurley

This commit is contained in:
Patrick McManus 2014-10-13 20:51:50 -04:00
parent 67cb990a35
commit 41abcd1d18

View File

@ -1450,8 +1450,10 @@ nsHttpTransaction::HandleContentStart()
LOG(("Not Authoritative.\n")); LOG(("Not Authoritative.\n"));
gHttpHandler->ConnMgr()-> gHttpHandler->ConnMgr()->
ClearHostMapping(mConnInfo->GetHost(), mConnInfo->Port()); ClearHostMapping(mConnInfo->GetHost(), mConnInfo->Port());
mForceRestart = true;
} }
// retry on a new connection - just in case
mCaps &= ~NS_HTTP_ALLOW_KEEPALIVE;
mForceRestart = true; // force restart has built in loop protection
break; break;
} }