From 79c7db3952947d4c6554357a32823be77be0c0f3 Mon Sep 17 00:00:00 2001 From: Caleb Lloyd <2414837+caleblloyd@users.noreply.github.com> Date: Thu, 22 Aug 2024 08:20:17 -0400 Subject: fix(ext/node): http2session ready state (#25143) Fixes #25142 Signed-off-by: Caleb Lloyd --- ext/node/polyfills/http2.ts | 1 + 1 file changed, 1 insertion(+) diff --git a/ext/node/polyfills/http2.ts b/ext/node/polyfills/http2.ts index 98edf40f4..cd6c47eeb 100644 --- a/ext/node/polyfills/http2.ts +++ b/ext/node/polyfills/http2.ts @@ -513,6 +513,7 @@ export class ClientHttp2Session extends Http2Session { this.emit("error", e); } })(); + this[kState].flags |= SESSION_FLAGS_READY; this.emit("connect", this, {}); })(); } -- cgit v1.2.3