Skip to content

[v13.x backport] stream: invoke buffered write callbacks on error

Buffered write callbacks were only invoked upon error if autoDestroy was invoked.

Refs: https://github.com/nodejs/node/pull/30596

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

Merge request reports

Loading