summaryrefslogtreecommitdiff
path: root/ext/node
diff options
context:
space:
mode:
authorCaleb Lloyd <2414837+caleblloyd@users.noreply.github.com>2024-08-22 08:20:17 -0400
committerGitHub <noreply@github.com>2024-08-22 17:50:17 +0530
commit79c7db3952947d4c6554357a32823be77be0c0f3 (patch)
treea2e9ea8f35e3f8c77a5f61e49c76d3020f9c8c44 /ext/node
parent2531204a3476b0f49bd4ecec68a94efb2908412a (diff)
fix(ext/node): http2session ready state (#25143)
Fixes #25142 Signed-off-by: Caleb Lloyd <caleblloyd@gmail.com>
Diffstat (limited to 'ext/node')
-rw-r--r--ext/node/polyfills/http2.ts1
1 files changed, 1 insertions, 0 deletions
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, {});
})();
}