Skip to content

Commit a902f65

Browse files
KershawChangkjang@mozilla.com
authored andcommitted
Bug 1984469 - Set NS_HTTP_STICKY_CONNECTION on an auth retry channel only if the previous channel had this flag, r=necko-reviewers,valentin
Differential Revision: https://phabricator.services.mozilla.com/D264592
1 parent ff0e47d commit a902f65

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

netwerk/protocol/http/nsHttpChannel.cpp

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3735,8 +3735,9 @@ nsresult nsHttpChannel::RedirectToNewChannelForAuthRetry() {
37353735
if (mTransaction->Http3Disabled()) {
37363736
httpChannelImpl->mCaps |= NS_HTTP_DISALLOW_HTTP3;
37373737
}
3738+
httpChannelImpl->mCaps |= NS_HTTP_STICKY_CONNECTION;
37383739
}
3739-
httpChannelImpl->mCaps |= NS_HTTP_STICKY_CONNECTION;
3740+
37403741
if (LoadAuthConnectionRestartable()) {
37413742
httpChannelImpl->mCaps |= NS_HTTP_CONNECTION_RESTARTABLE;
37423743
} else {

0 commit comments

Comments
 (0)