mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-12-01 08:42:13 +00:00
Bug 1388684 - RCWN breaks HTTP_CHANNEL_DISPOSITION telemetry, r=mcmanus
This commit is contained in:
parent
5cb2b76206
commit
f96c866888
@ -7394,7 +7394,9 @@ nsHttpChannel::OnStopRequest(nsIRequest *request, nsISupports *ctxt, nsresult st
|
||||
// HTTP 0.9 is more likely to be an error than really 0.9, so count it that way
|
||||
if (mCanceled) {
|
||||
chanDisposition = kHttpCanceled;
|
||||
} else if (!mUsedNetwork) {
|
||||
} else if (!mUsedNetwork ||
|
||||
(mRaceCacheWithNetwork &&
|
||||
mFirstResponseSource == RESPONSE_FROM_CACHE)) {
|
||||
chanDisposition = kHttpDisk;
|
||||
} else if (NS_SUCCEEDED(status) &&
|
||||
mResponseHead &&
|
||||
|
Loading…
Reference in New Issue
Block a user