diff --git a/netwerk/protocol/http/nsHttpTransaction.cpp b/netwerk/protocol/http/nsHttpTransaction.cpp index 161f8fcb377..6065b8f1560 100644 --- a/netwerk/protocol/http/nsHttpTransaction.cpp +++ b/netwerk/protocol/http/nsHttpTransaction.cpp @@ -1450,8 +1450,10 @@ nsHttpTransaction::HandleContentStart() LOG(("Not Authoritative.\n")); gHttpHandler->ConnMgr()-> 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; }