mirror of
https://github.com/denoland/deno.git
synced 2024-11-22 04:51:22 +00:00
fix(ext/http): actually await goAhead
promise (#24226)
This commit is contained in:
parent
e92d44fbff
commit
bff235a8ec
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user