fix: auth required websocket crash (#48539)

Co-authored-by: trop[bot] <37223003+trop[bot]@users.noreply.github.com>
Co-authored-by: Shelley Vohr <shelley.vohr@gmail.com>
This commit is contained in:
trop[bot]
2025-10-13 21:39:39 -07:00
committed by GitHub
parent 91899aa9af
commit 5bc759e08d

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);