| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
There was a problem hiding this comment.
I think there is no need to do this. It's done implicitly in https://github.com/Fishrock123/node/blob/9b2aee0fcea8eea690976a6ad3cb30b136ba6a67/lib/zlib.js#L426-L429
Sorry, something went wrong.
There was a problem hiding this comment.
LGTM with a nit.
Sorry, something went wrong.
If the stream is destroyed while the transform is still being applied, push() should not be called, and the internal state should be cleared. Refs: koajs/compress#60 PR-URL: nodejs#14330 Backport-PR-URL: nodejs#14396 Reviewed-By: Anna Henningsen <anna@addaleax.net> Reviewed-By: Colin Ihrig <cjihrig@gmail.com> Conflicts: lib/zlib.js
| Back | FazBrowse Home | New Git URL |
Backport of #14330
Conflicts:
lib/zlib.js
Checklist
Of note, it looks like the line above should also have buffer = null but perhaps that should be addressed separately.
I can confirm the test works on 8.x.