Skip to content

Commit

Permalink
fix(ext/node): http2session ready state (denoland#25143)
Browse files Browse the repository at this point in the history
Fixes denoland#25142

Signed-off-by: Caleb Lloyd <caleblloyd@gmail.com>
  • Loading branch information
caleblloyd authored Aug 22, 2024
1 parent 2531204 commit 79c7db3
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions ext/node/polyfills/http2.ts
Original file line number Diff line number Diff line change
Expand Up @@ -513,6 +513,7 @@ export class ClientHttp2Session extends Http2Session {
this.emit("error", e);
}
})();
this[kState].flags |= SESSION_FLAGS_READY;
this.emit("connect", this, {});
})();
}
Expand Down

0 comments on commit 79c7db3

Please # to comment.