mirror of
https://github.com/nodejs/node.git
synced 2026-11-24 21:50:36 -05:00
http: added connection closing methods
Fixes: https://github.com/nodejs/node/issues/41578 PR-URL: https://github.com/nodejs/node/pull/42812 Reviewed-By: Matteo Collina <matteo.collina@gmail.com> Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
This commit is contained in:
1 parent
3ab3086008
commit
2f192c4be0
9 files changed
+360
-13
No files matched your search
@@ -87,6 +87,10 @@ function Server(opts, requestListener) {
|
||||
ObjectSetPrototypeOf(Server.prototype, tls.Server.prototype);
|
||||
ObjectSetPrototypeOf(Server, tls.Server);
|
||||
|
||||
Server.prototype.closeAllConnections = HttpServer.prototype.closeAllConnections;
|
||||
|
||||
Server.prototype.closeIdleConnections = HttpServer.prototype.closeIdleConnections;
|
||||
|
||||
Server.prototype.setTimeout = HttpServer.prototype.setTimeout;
|
||||
|
||||
/**
|
||||
|
||||
Reference in new issue
Block a user