Skip to content

http: always call response.write() callback

Rodrigo Muino Tomonari requested to merge github/fork/lpinca/gh-22066 into master

Ensure that the callback of OutgoingMessage.prototype.write() is called even when writing empty chunks.

Fixes: https://github.com/nodejs/node/issues/22066

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

Merge request reports

Loading