1
0
Fork 0
mirror of https://github.com/denoland/deno.git synced 2025-01-11 08:33:43 -05:00

fix(ext/node): http2session ready state (#25143)

Fixes #25142

Signed-off-by: Caleb Lloyd <caleblloyd@gmail.com>
(cherry picked from commit 79c7db3952)
This commit is contained in:
Caleb Lloyd 2024-08-22 08:20:17 -04:00 committed by crowlkats
parent 1bafcf538e
commit 1b6af339bb
No known key found for this signature in database
GPG key ID: A82C9D461FC483E8

View file

@ -513,6 +513,7 @@ export class ClientHttp2Session extends Http2Session {
this.emit("error", e); this.emit("error", e);
} }
})(); })();
this[kState].flags |= SESSION_FLAGS_READY;
this.emit("connect", this, {}); this.emit("connect", this, {});
})(); })();
} }