-
Notifications
You must be signed in to change notification settings - Fork 29.6k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
zlib: replace usage of internal stream state with public api #34884
zlib: replace usage of internal stream state with public api #34884
Conversation
if (typeof kind === 'function' || (kind === undefined && !callback)) { | ||
callback = kind; | ||
kind = this._defaultFullFlushFlag; | ||
} | ||
|
||
if (ws.ended) { | ||
if (this.writableFinished) { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
IIUC this is slightly off since the .finished
will only be set on nextTick but I guess that's okay?
/cc @ronag
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
propabbly fine
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
lgtm.. I would ask for a citgm run.
The docs are rather unclear when exactly callback should be invoked and what that means... |
This comment has been minimized.
This comment has been minimized.
Can someone interpret the CITGM run for me, please? Are the failures expected from other changes and this is safe to land or is it the fault of this PR since by the looks of it every more or less recent CITGM run failed. |
good to go for me |
Landed in 7fca0df |
Refs: #445 PR-URL: #34884 Reviewed-By: Matteo Collina <[email protected]> Reviewed-By: Ruben Bridgewater <[email protected]> Reviewed-By: James M Snell <[email protected]> Reviewed-By: Anna Henningsen <[email protected]>
Refs: #445 PR-URL: #34884 Reviewed-By: Matteo Collina <[email protected]> Reviewed-By: Ruben Bridgewater <[email protected]> Reviewed-By: James M Snell <[email protected]> Reviewed-By: Anna Henningsen <[email protected]>
Refs: #445 PR-URL: #34884 Reviewed-By: Matteo Collina <[email protected]> Reviewed-By: Ruben Bridgewater <[email protected]> Reviewed-By: James M Snell <[email protected]> Reviewed-By: Anna Henningsen <[email protected]>
Refs: #445 PR-URL: #34884 Reviewed-By: Matteo Collina <[email protected]> Reviewed-By: Ruben Bridgewater <[email protected]> Reviewed-By: James M Snell <[email protected]> Reviewed-By: Anna Henningsen <[email protected]>
Refs: #445
Checklist
make -j4 test
(UNIX), orvcbuild test
(Windows) passes/cc @nodejs/streams