fix: auth required websocket crash (#48541)

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 12:45:37 +02:00
committed by GitHub
parent e533887749
commit e21342a94e

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