fix: auth required websocket crash (#48510)

This commit is contained in:
Shelley Vohr
2025-10-13 10:13:32 +02:00
committed by GitHub
parent 16b5776b01
commit dd25a6361b

View File

@@ -401,7 +401,7 @@ void ProxyingWebSocket::OnHeadersReceivedCompleteForAuth(
auto continuation = base::BindRepeating(
&ProxyingWebSocket::OnAuthRequiredComplete, weak_factory_.GetWeakPtr());
auto auth_rv = AuthRequiredResponse::kIoPending;
auto auth_rv = AuthRequiredResponse::kCancelAuth;
PauseIncomingMethodCallProcessing();
OnAuthRequiredComplete(auth_rv);