summaryrefslogtreecommitdiff
path: root/ext/http
diff options
context:
space:
mode:
authorLuca Casonato <hello@lcas.dev>2024-06-17 16:05:49 +0200
committerGitHub <noreply@github.com>2024-06-17 16:05:49 +0200
commitabc6981468d0a1d6d4228ee868a239aebe4cc63c (patch)
treeb0d6a56caf39372924c32dd54158f6ae92178e36 /ext/http
parent193768170e1b87f3acb2607755d25a08998d4550 (diff)
fix(ext/http): actually await `goAhead` promise (#24226)
Diffstat (limited to 'ext/http')
-rw-r--r--ext/http/00_serve.ts2
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;