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 GitHub
parent 193768170e
commit abc6981468
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

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;