diff --git a/netwerk/protocol/http/nsHttpTransaction.cpp b/netwerk/protocol/http/nsHttpTransaction.cpp index 6c6865c239..43c229897a 100644 --- a/netwerk/protocol/http/nsHttpTransaction.cpp +++ b/netwerk/protocol/http/nsHttpTransaction.cpp @@ -762,7 +762,7 @@ nsHttpTransaction::ReadSegments(nsAHttpSegmentReader *reader, return mStatus; } - if (!mConnected && !m0RTTInProgress) { + if (mConnection && !mConnected && !m0RTTInProgress) { mConnected = true; nsCOMPtr info; mConnection->GetSecurityInfo(getter_AddRefs(info));