mirror of
https://github.com/nodejs/node.git
synced 2026-11-30 11:55:44 -05:00
http: fix close return value mismatch between doc and implementation
PR-URL: https://github.com/nodejs/node/pull/51797 Fixes: https://github.com/nodejs/node/issues/51787 Reviewed-By: Paolo Insogna <paolo@cowtech.it> Reviewed-By: Robert Nagy <ronagy@icloud.com> Reviewed-By: Ethan Arrowood <ethan@arrowood.dev> Reviewed-By: Matteo Collina <matteo.collina@gmail.com> Reviewed-By: Luigi Pinca <luigipinca@gmail.com> Reviewed-By: Marco Ippolito <marcoippolito54@gmail.com>
This commit is contained in:
1 parent
cea90dcfe3
commit
6bf148e12b
3 files changed
+3
No files matched your search
@@ -139,4 +139,5 @@ process.on('exit', function() {
|
||||
assert.match(server_response, quit);
|
||||
|
||||
assert.strictEqual(client_got_eof, true);
|
||||
assert.strictEqual(server.close(), server);
|
||||
});
|
||||
Reference in new issue
Block a user