diff options
author | Luca Casonato <hello@lcas.dev> | 2024-06-17 16:05:49 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-06-17 16:05:49 +0200 |
commit | abc6981468d0a1d6d4228ee868a239aebe4cc63c (patch) | |
tree | b0d6a56caf39372924c32dd54158f6ae92178e36 /ext/http/00_serve.ts | |
parent | 193768170e1b87f3acb2607755d25a08998d4550 (diff) |
fix(ext/http): actually await `goAhead` promise (#24226)
Diffstat (limited to 'ext/http/00_serve.ts')
-rw-r--r-- | ext/http/00_serve.ts | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/ext/http/00_serve.ts b/ext/http/00_serve.ts index 84b8cd321..670b64676 100644 --- a/ext/http/00_serve.ts +++ b/ext/http/00_serve.ts @@ -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; |