GeezerVisonThe World Wide Web, restored to 800 pixels of glory. | |||||||||
| Home|About|Gaming cabinet|Archives|How it works|Starter sites | |||||||||
GeezerVison is showing github.com — stream: fix pipe deadlock when starting with needDrain by ronag · Pull Request #36563 · nodejs/node Conversation
|
|
Missing test |
Sorry, something went wrong.
There was an error while loading. Please reload this page.
|
I've updated your test slightly to check for the deadlock: https://gist.github.com/bea83eb0dcbd0aea3b2689c2cd91bb38 |
Sorry, something went wrong.
There was an error while loading. Please reload this page.
62844f2 to
0996479
Compare
|
Seems like we may need to use common.mustCallAtLeast(1) instead of common.mustCall() because the latter requires it to be called exactly once, and it looks like the build system calls pause twice. |
Sorry, something went wrong.
There was an error while loading. Please reload this page.
|
@nodejs/streams |
Sorry, something went wrong.
There was an error while loading. Please reload this page.
This was also a separate bug. |
Sorry, something went wrong.
There was an error while loading. Please reload this page.
Sorry, something went wrong.
There was an error while loading. Please reload this page.
Sorry, something went wrong.
There was an error while loading. Please reload this page.
There was a problem hiding this comment.
The reason will be displayed to describe this comment to others. Learn more.
lgtm
Sorry, something went wrong.
There was an error while loading. Please reload this page.
It's because pause is called when it's finishing (in unpipe) as well as in the pipe call - so your latest test code looks good to me. |
Sorry, something went wrong.
There was an error while loading. Please reload this page.
|
Landed in ab895bd |
Sorry, something went wrong.
There was an error while loading. Please reload this page.
Fixes: #36544 PR-URL: #36563 Reviewed-By: Matteo Collina <[email protected]> Reviewed-By: Luigi Pinca <[email protected]>
Fixes: #36544 PR-URL: #36563 Reviewed-By: Matteo Collina <[email protected]> Reviewed-By: Luigi Pinca <[email protected]>
Fixes: #36544 PR-URL: #36563 Reviewed-By: Matteo Collina <[email protected]> Reviewed-By: Luigi Pinca <[email protected]>
There was an error while loading. Please reload this page.
Successfully merging this pull request may close these issues.
doc: Piping multiple streams to the same Writable stream might not end
There was an error while loading. Please reload this page.