mirror of
https://github.com/zebrajr/node.git
synced 2026-01-15 12:15:26 +00: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:
@@ -96,8 +96,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