Skip to content

Commit cbc3283

Browse files
samuel871211juanarbol
authored andcommitted
doc: update server.dropMaxConnection link
PR-URL: #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>
1 parent 604e714 commit cbc3283

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

doc/api/net.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -668,7 +668,7 @@ When the number of connections reaches the `server.maxConnections` threshold:
668668

669669
1. If the process is not running in cluster mode, Node.js will close the connection.
670670

671-
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`.
671+
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`.
672672

673673
It is not recommended to use this option once a socket has been sent to a child
674674
with [`child_process.fork()`][].
@@ -1999,6 +1999,7 @@ net.isIPv6('fhqwhgads'); // returns false
19991999
[`new net.Socket(options)`]: #new-netsocketoptions
20002000
[`readable.setEncoding()`]: stream.md#readablesetencodingencoding
20012001
[`server.close()`]: #serverclosecallback
2002+
[`server.dropMaxConnection`]: #serverdropmaxconnection
20022003
[`server.listen()`]: #serverlisten
20032004
[`server.listen(handle)`]: #serverlistenhandle-backlog-callback
20042005
[`server.listen(options)`]: #serverlistenoptions-callback

0 commit comments

Comments
 (0)