Uh oh!
There was an error while loading. Please reload this page.
http2: propagate session destroy code to streams - #28435
Conversation
cjihrig
commented
Jun 27, 2019
cc: @nodejs/http2 |
mcollina
left a comment
There was a problem hiding this comment.
LGTM
What do you think is the correct semver level for this? semver-minor or patch?
cjihrig
commented
Jun 27, 2019
The current behavior definitely seems like a bug to me, but it's also a behavior change. I'd be OK with patch or major. |
jasnell
commented
Jun 27, 2019
Hey, sorry I didn't get back on the twitter dm on this @cjihrig... propagating the code is fine, I think, at least for http2 (later, for http3, those semantics will be much more clearly defined). |
nodejs-github-bot
commented
Jun 27, 2019
CI: https://ci.nodejs.org/job/node-test-pull-request/24118/ EDIT(cjihrig): CI was green. |
cjihrig
commented
Jun 28, 2019
https://ci.nodejs.org/view/Node.js-citgm/job/citgm-smoker/1891/ |
cjihrig
commented
Jun 28, 2019
CITGM finished running, if anyone is comfortable interpreting the results. |
Currently, when an HTTP2 session is destroyed with a code, that code is not propagated to the destroy() call of the session's streams. This commit forwards any code used to destroy a session to its corresponding streams. PR-URL: nodejs#28435 Reviewed-By: Rich Trott <rtrott@gmail.com> Reviewed-By: Matteo Collina <matteo.collina@gmail.com> Reviewed-By: James M Snell <jasnell@gmail.com> Reviewed-By: Trivikram Kamat <trivikr.dev@gmail.com>
Currently, when an HTTP2 session is destroyed with a code, that code is not propagated to the destroy() call of the session's streams. This commit forwards any code used to destroy a session to its corresponding streams. PR-URL: #28435 Reviewed-By: Rich Trott <rtrott@gmail.com> Reviewed-By: Matteo Collina <matteo.collina@gmail.com> Reviewed-By: James M Snell <jasnell@gmail.com> Reviewed-By: Trivikram Kamat <trivikr.dev@gmail.com>
Currently, when an HTTP2 session is destroyed with a code, that code is not propagated to the destroy() call of the session's streams. This commit forwards any code used to destroy a session to its corresponding streams. PR-URL: #28435 Reviewed-By: Rich Trott <rtrott@gmail.com> Reviewed-By: Matteo Collina <matteo.collina@gmail.com> Reviewed-By: James M Snell <jasnell@gmail.com> Reviewed-By: Trivikram Kamat <trivikr.dev@gmail.com>
Currently, when an HTTP2 session is destroyed with a code, that code is not propagated to the
destroy()call of the session's streams. This commit forwards any code used to destroy a session to its corresponding streams.Checklist
make -j4 test(UNIX), orvcbuild test(Windows) passes