diff --git a/src/http-client/node-http2-client.ts b/src/http-client/node-http2-client.ts index 336fea63..ebd61bb6 100644 --- a/src/http-client/node-http2-client.ts +++ b/src/http-client/node-http2-client.ts @@ -135,7 +135,7 @@ export class NodeHTTP2Client implements HTTPClient { #connect() { // create the session if it does not exist or is closed - if (!this.#session || this.#session.closed) { + if (!this.#session || this.#session.closed || this.#session.destroyed) { const new_session: ClientHttp2Session = http2 .connect(this.#url, { peerMaxConcurrentStreams: this.#http2_max_streams,