1
0
Fork 0
mirror of https://github.com/denoland/deno.git synced 2024-11-21 15:04:11 -05:00

fix(ext/http): actually await goAhead promise (#24226)

This commit is contained in:
Luca Casonato 2024-06-17 16:05:49 +02:00 committed by Bartek Iwańczuk
parent e92d44fbff
commit bff235a8ec
No known key found for this signature in database
GPG key ID: 0C6BCDDC3B3AD750

View file

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