mirror of
https://github.com/denoland/deno.git
synced 2024-11-25 15:29:32 -05:00
fix(ext/http): actually await goAhead
promise (#24226)
This commit is contained in:
parent
193768170e
commit
abc6981468
1 changed files with 1 additions and 1 deletions
|
@ -225,7 +225,7 @@ class InnerRequest {
|
||||||
const wsRid = await wsPromise;
|
const wsRid = await wsPromise;
|
||||||
|
|
||||||
// We have to wait for the go-ahead signal
|
// We have to wait for the go-ahead signal
|
||||||
await goAhead;
|
await goAhead.promise;
|
||||||
|
|
||||||
ws[_rid] = wsRid;
|
ws[_rid] = wsRid;
|
||||||
ws[_readyState] = WebSocket.OPEN;
|
ws[_readyState] = WebSocket.OPEN;
|
||||||
|
|
Loading…
Reference in a new issue