Skip to content

Commit 37b3e06

Browse files
authored
https: remove closeIdleConnections function while calling server close
Correcting the #50194 backporting mistake. server.closeIdleConnections shouldn't be called while server.close in node v18. This behavior is for node v19 and above. fixes: #52330, #51677,
1 parent 8c8961d commit 37b3e06

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

lib/_http_server.js

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -506,7 +506,6 @@ function setupConnectionsTracking() {
506506
}
507507

508508
function httpServerPreClose(server) {
509-
server.closeIdleConnections();
510509
clearInterval(server[kConnectionsCheckingInterval]);
511510
}
512511

0 commit comments

Comments
 (0)