Skip to content

Commit

Permalink
fix(ext/http): actually await goAhead promise (denoland#24226)
Browse files Browse the repository at this point in the history
  • Loading branch information
lucacasonato authored Jun 17, 2024
1 parent 1937681 commit abc6981
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ext/http/00_serve.ts
Original file line number Diff line number Diff line change
Expand Up @@ -225,7 +225,7 @@ class InnerRequest {
const wsRid = await wsPromise;

// We have to wait for the go-ahead signal
await goAhead;
await goAhead.promise;

ws[_rid] = wsRid;
ws[_readyState] = WebSocket.OPEN;
Expand Down

0 comments on commit abc6981

Please sign in to comment.