doc: update server.dropMaxConnection link

PR-URL: https://github.com/nodejs/node/pull/61584
Reviewed-By: Antoine du Hamel <duhamelantoine1995@gmail.com>
Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
Reviewed-By: Ulises Gascón <ulisesgascongonzalez@gmail.com>
Reviewed-By: Tim Perry <pimterry@gmail.com>
This commit is contained in:
YuSheng Chen authored and Antoine du Hamel committed 2026-02-22 23:16:15 +01:00
1 parent 74e4710ee7
commit 4889dc4f59
1 file changed
+2 -1
+2 -1
View File
@@ -676,7 +676,7 @@ When the number of connections reaches the `server.maxConnections` threshold:
1. If the process is not running in cluster mode, Node.js will close the connection.
2. If the process is running in cluster mode, Node.js will, by default, route the connection to another worker process. To close the connection instead, set \[`server.dropMaxConnection`]\[] to `true`.
2. If the process is running in cluster mode, Node.js will, by default, route the connection to another worker process. To close the connection instead, set [`server.dropMaxConnection`][] to `true`.
It is not recommended to use this option once a socket has been sent to a child
with [`child_process.fork()`][].
@@ -2009,6 +2009,7 @@ net.isIPv6('fhqwhgads'); // returns false
[`new net.Socket(options)`]: #new-netsocketoptions
[`readable.setEncoding()`]: stream.md#readablesetencodingencoding
[`server.close()`]: #serverclosecallback
[`server.dropMaxConnection`]: #serverdropmaxconnection
[`server.listen()`]: #serverlisten
[`server.listen(handle)`]: #serverlistenhandle-backlog-callback
[`server.listen(options)`]: #serverlistenoptions-callback