Uh oh!
There was an error while loading. Please reload this page.
[14.x] stream: fix regression on duplex end - #36229
Conversation
Backport Decide the return status of writeOrBuffer before calling stream.write which can reset state.length Refs: nodejs#35941Fixes: nodejs#35926
nodejs-github-bot
commented
Nov 22, 2020
Review requested:
|
mcollina
commented
Nov 23, 2020
cc @nodejs/releasers this is a backport. |
NB: This fixes a fairly major regression that broke the fairly-popular ssh2 library. |
This comment has been minimized.
This comment has been minimized.
BethGriggs
commented
Dec 7, 2020
mcollina
commented
Dec 7, 2020
@BethGriggs what's the timeline for the next 14 release? |
BethGriggs
commented
Dec 7, 2020
@mcollina no concrete dates yet, but I am hoping we can get a patch release out before the holidays. My (probably ambitious) plan is to get the proposal ready by tomorrow/Weds and aim for Tues 15th release date. That reduces our typical proposal baking time to ~1 week but that seems preferable to releasing on 22nd Dec or not getting one out at all. |
mcollina
commented
Dec 7, 2020
I would just land #36375 and skip this. |
mmomtchev
commented
Dec 7, 2020
@BethGriggs these are two 100% identical PRs |
BethGriggs
commented
Dec 9, 2020
Closing as #36375 has landed. |
enov
commented
Dec 9, 2020
Thank you! @mmomtchev we're affected by this and I thought to expedite by resolving the conflict. Did not mean to steal anybody's work and apologies if it did look that way. Thank you all for your hard work ❤️ |
Backport
Decide the return status of writeOrBuffer before
calling stream.write which can reset state.length
Refs: #35941
Fixes: #35926
Checklist
make -j4 test(UNIX), orvcbuild test(Windows) passes