http2: move events to the JSStreamSocket · nodejs/node@429113e · GitHub
Skip to content

Commit 429113e

Browse files
mmomtchevdanielleadams
authored andcommitted
http2: move events to the JSStreamSocket
When using a JSStreamSocket, the HTTP2Session constructor will replace the socket object http2 events should be attached to the JSStreamSocket object because the http2 session handle lives there Fixes: #35695 PR-URL: #35772 Reviewed-By: Matteo Collina <matteo.collina@gmail.com> Reviewed-By: Anna Henningsen <anna@addaleax.net> Reviewed-By: Rich Trott <rtrott@gmail.com> Reviewed-By: James M Snell <jasnell@gmail.com> Reviewed-By: Ricky Zhou <0x19951125@gmail.com>
1 parent 06cc400 commit 429113e

2 files changed

Lines changed: 61 additions & 3 deletions

File tree

lib/internal/http2/core.js

Lines changed: 6 additions & 3 deletions
Lines changed: 55 additions & 0 deletions

0 commit comments

Comments
 (0)