mirror of
https://github.com/nodejs/node.git
synced 2026-11-24 21:50:36 -05:00
http: start connections checking interval on listen
Co-authored-by: Luigi Pinca <luigipinca@gmail.com> PR-URL: https://github.com/nodejs/node/pull/48611 Reviewed-By: Matteo Collina <matteo.collina@gmail.com> Reviewed-By: Marco Ippolito <marcoippolito54@gmail.com> Reviewed-By: Luigi Pinca <luigipinca@gmail.com> Reviewed-By: Rafael Gonzaga <rafael.nunu@hotmail.com>
This commit is contained in:
1 parent
cb43717c97
commit
8874b2e11d
4 files changed
+71
-6
No files matched your search
+2
-1
@@ -86,8 +86,9 @@ function Server(opts, requestListener) {
|
||||
|
||||
this.timeout = 0;
|
||||
this.maxHeadersCount = null;
|
||||
setupConnectionsTracking(this);
|
||||
this.on('listening', setupConnectionsTracking);
|
||||
}
|
||||
|
||||
ObjectSetPrototypeOf(Server.prototype, tls.Server.prototype);
|
||||
ObjectSetPrototypeOf(Server, tls.Server);
|
||||
|
||||
|
||||
Reference in new issue
Block a user