From 5bc759e08db8387b98cf8a758cf468f38d415410 Mon Sep 17 00:00:00 2001 From: "trop[bot]" <37223003+trop[bot]@users.noreply.github.com> Date: Mon, 13 Oct 2025 21:39:39 -0700 Subject: [PATCH] fix: auth required websocket crash (#48539) Co-authored-by: trop[bot] <37223003+trop[bot]@users.noreply.github.com> Co-authored-by: Shelley Vohr --- shell/browser/net/proxying_websocket.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/shell/browser/net/proxying_websocket.cc b/shell/browser/net/proxying_websocket.cc index 02ae781d0b..e9cfd08787 100644 --- a/shell/browser/net/proxying_websocket.cc +++ b/shell/browser/net/proxying_websocket.cc @@ -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);