1
0
Fork 0
mirror of https://github.com/denoland/deno.git synced 2024-11-21 15:04:11 -05:00

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

Fixes #25142

Signed-off-by: Caleb Lloyd <caleblloyd@gmail.com>
This commit is contained in:
Caleb Lloyd 2024-08-22 08:20:17 -04:00 committed by GitHub
parent 2531204a34
commit 79c7db3952
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

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, {});
})(); })();
} }