Skip to content

Commit 5bc759e

Browse files
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>
1 parent 91899aa commit 5bc759e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

shell/browser/net/proxying_websocket.cc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -401,7 +401,7 @@ void ProxyingWebSocket::OnHeadersReceivedCompleteForAuth(
401401

402402
auto continuation = base::BindRepeating(
403403
&ProxyingWebSocket::OnAuthRequiredComplete, weak_factory_.GetWeakPtr());
404-
auto auth_rv = AuthRequiredResponse::kIoPending;
404+
auto auth_rv = AuthRequiredResponse::kCancelAuth;
405405
PauseIncomingMethodCallProcessing();
406406

407407
OnAuthRequiredComplete(auth_rv);

0 commit comments

Comments
 (0)