mirror of
https://github.com/nodejs/node.git
synced 2026-11-24 21:50:36 -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
@@ -111,6 +111,7 @@ Server.prototype.setTimeout = HttpServer.prototype.setTimeout;
|
||||
Server.prototype.close = function() {
|
||||
httpServerPreClose(this);
|
||||
ReflectApply(tls.Server.prototype.close, this, arguments);
|
||||
return this;
|
||||
};
|
||||
|
||||
Server.prototype[SymbolAsyncDispose] = async function() {
|
||||
|
||||
Reference in new issue
Block a user