Uh oh!
There was an error while loading. Please reload this page.
http2: make http2/compat.write more http/1 compliant - #30964
Conversation
ronag
commented
Dec 14, 2019
Would be nice to eventually consolidate stream, http1, http/2 compat and http/2 in terms of the streams API & behaviours. |
This comment has been minimized.
This comment has been minimized.
69f9a1d to
dac542bCompareronag
commented
Dec 14, 2019
Unsure about semver. Maybe major? |
nodejs-github-bot
commented
Dec 14, 2019
apapirovski
left a comment
There was a problem hiding this comment.
I don't think ERR_STREAM_DESTROYED belongs here. Also left some nits but that's the primary objection for me.
Would also like James to review ideally.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
ronag
commented
Dec 14, 2019
@apapirovski: I think you prefer to align with http1 instead of streams. I've updated the PR accordingly. |
d1a706e to
1ef5224CompareThere was a problem hiding this comment.
(It was mentioned in the linked issue, hence me bringing it up.)
There was a problem hiding this comment.
I'll leave this as is until there is more input.
There was a problem hiding this comment.
I think the biggest issue was the throw.
Uh oh!
There was an error while loading. Please reload this page.
c8c1f00 to
19c30e7Comparechange request was addressed, will approve after outstanding discussion is resolved
nodejs-github-bot
commented
Dec 14, 2019
nodejs-github-bot
commented
Dec 14, 2019
BridgeAR
commented
Dec 24, 2019
I believe this is |
Trott
commented
Dec 31, 2019
Needs a rebase. |
HTTP2ServerResponse.write would behave differently than both http1 and streams. This PR makes it more compliant with stream.Writable behaviour. Refs: nodejs#29529
ronag
commented
Jan 1, 2020
rebased |
493c71a to
9da63beCompareBridgeAR
commented
Jan 1, 2020
Landed in a1d307f 🎉 |
targos
commented
Jan 14, 2020
This needs a backport or other previous PRs to be backported in order to land on v12.x-staging. |
HTTP2ServerResponse.write would behave differently than both http1 and streams. This PR makes it more compliant with stream.Writable behaviour. PR-URL: nodejs#30964 Refs: nodejs#29529
HTTP2ServerResponse.write would behave differently than both http1 and streams. This PR makes it more compliant with stream.Writable behaviour. PR-URL: nodejs#30964 Refs: nodejs#29529 Backport-PR-URL: nodejs#31444
This issue is still present on 12.20.0. I think the backported-to-v12.x tag might be misapplied here, or the fix was not sufficient. `` |
HTTP2ServerResponse.writewould behave differently than both http1 and streams. This PR makes it more compliant withstream.Writablebehaviour.In particular, prior to this PR,
writewouldthrow errinstead of callingdestroy(err)Refs: #29529
Checklist
make -j4 test(UNIX), orvcbuild test(Windows) passes