diff options
author | Luigi Pinca <luigipinca@gmail.com> | 2019-05-20 10:29:03 +0200 |
---|---|---|
committer | Rich Trott <rtrott@gmail.com> | 2019-06-01 15:18:06 +0200 |
commit | 2a850cd0664a4eee51f44d0bb8c2f7a3fe444154 (patch) | |
tree | 2eb2566f74f4516ab5000ca2807eda590d47f29c /deps/v8/src/snapshot | |
parent | 74b498682284c7393df018ff026ce1687a75ebb8 (diff) | |
download | node-new-2a850cd0664a4eee51f44d0bb8c2f7a3fe444154.tar.gz |
http: call write callback even if there is no message body
Ensure that the callback of `OutgoingMessage.prototype.write()` is
called when `outgoingMessage._hasBody` is `false` (HEAD method, 204
status code, etc.).
Refs: https://github.com/nodejs/node/pull/27709
PR-URL: https://github.com/nodejs/node/pull/27777
Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de>
Reviewed-By: Rich Trott <rtrott@gmail.com>
Diffstat (limited to 'deps/v8/src/snapshot')
0 files changed, 0 insertions, 0 deletions