FazBrowse GitHub Viewer | Trending |
URL:
| Home
Tools: [Download Repo ZIP]   [Original HTTPS Page]

[14.x] stream: fix regression on duplex end by enov · Pull Request #36375 · nodejs/node · GitHub

/ node Public

[14.x] stream: fix regression on duplex end - #36375

Closed
enov wants to merge 1 commit into
nodejs:v14.x-stagingfrom
enov:backport-35941-to-v14.x
Closed

[14.x] stream: fix regression on duplex end#36375
enov wants to merge 1 commit into
nodejs:v14.x-stagingfrom
enov:backport-35941-to-v14.x

Conversation

enov commented Dec 4, 2020
edited
Loading

Copy link
Copy Markdown

Backport
Decide the return status of writeOrBuffer before
calling stream.write which can reset state.length

Refs: #35941
Fixes: #35926

Based off @mmomtchev 's work in #36229 , rebased on v14.x-staging

Checklist
  • make -j4 test (UNIX), or vcbuild test (Windows) passes
  • tests and/or benchmarks are included
  • commit message follows commit guidelines

Backport
Decide the return status of writeOrBuffer before
calling stream.write which can reset state.length

Refs: nodejs#35941
Fixes: nodejs#35926

mcollina left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Choose a reason Spam Abuse Off Topic Outdated Duplicate Resolved Low Quality

lgtm

BethGriggs added the request-ci Add this label to start a Jenkins CI on a PR. label Dec 7, 2020
github-actions Bot removed the request-ci Add this label to start a Jenkins CI on a PR. label Dec 7, 2020

This comment has been minimized.

BethGriggs added the request-ci Add this label to start a Jenkins CI on a PR. label Dec 8, 2020
github-actions Bot removed the request-ci Add this label to start a Jenkins CI on a PR. label Dec 8, 2020

This comment has been minimized.

This comment has been minimized.

nodejs-github-bot commented Dec 8, 2020
edited by BethGriggs
Loading

Copy link
Copy Markdown
Collaborator

BethGriggs pushed a commit that referenced this pull request Dec 9, 2020
Decide the return status of writeOrBuffer before
calling stream.write which can reset state.length

Add unit test for #35926

Refs: #35926

Backport-PR-URL: #36375
PR-URL: #35941
Fixes: #35926
Reviewed-By: Matteo Collina <matteo.collina@gmail.com>
Reviewed-By: Benjamin Gruenbaum <benjamingr@gmail.com>
Reviewed-By: Rich Trott <rtrott@gmail.com>

Copy link
Copy Markdown
Member

Landed in 5904671

BethGriggs closed this Dec 9, 2020
BethGriggs pushed a commit that referenced this pull request Dec 10, 2020
Decide the return status of writeOrBuffer before
calling stream.write which can reset state.length

Add unit test for #35926

Refs: #35926

Backport-PR-URL: #36375
PR-URL: #35941
Fixes: #35926
Reviewed-By: Matteo Collina <matteo.collina@gmail.com>
Reviewed-By: Benjamin Gruenbaum <benjamingr@gmail.com>
Reviewed-By: Rich Trott <rtrott@gmail.com>
BethGriggs pushed a commit that referenced this pull request Dec 15, 2020
Decide the return status of writeOrBuffer before
calling stream.write which can reset state.length

Add unit test for #35926

Refs: #35926

Backport-PR-URL: #36375
PR-URL: #35941
Fixes: #35926
Reviewed-By: Matteo Collina <matteo.collina@gmail.com>
Reviewed-By: Benjamin Gruenbaum <benjamingr@gmail.com>
Reviewed-By: Rich Trott <rtrott@gmail.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode characters
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants


Back | FazBrowse Home | New Git URL