Bug 1909202 - Use NS_BINDING_ABORTED for ORB blocked errors r=kershaw,necko-reviewers
Http2 uses a single connection for multiple requests. When ORB blocks a request with NS_ERROR_FAILURE, it's treated as a hard error in necko, then the entire connection is closed. This patches converts ORB to uses NS_BINDING_ABORTED. Differential Revision: https://phabricator.services.mozilla.com/D218643
This commit is contained in:
@@ -3522,7 +3522,7 @@ void HttpBaseChannel::BlockOpaqueResponseAfterSniff(
|
||||
const OpaqueResponseBlockedTelemetryReason aTelemetryReason) {
|
||||
MOZ_DIAGNOSTIC_ASSERT(mORB);
|
||||
LogORBError(aReason, aTelemetryReason);
|
||||
mORB->BlockResponse(this, NS_ERROR_FAILURE);
|
||||
mORB->BlockResponse(this, NS_BINDING_ABORTED);
|
||||
}
|
||||
|
||||
void HttpBaseChannel::AllowOpaqueResponseAfterSniff() {
|
||||
|
||||
Reference in New Issue
Block a user