summaryrefslogtreecommitdiff
path: root/doc/api/deprecations.md
diff options
context:
space:
mode:
authorJames M Snell <jasnell@gmail.com>2018-10-19 11:21:42 -0700
committerJames M Snell <jasnell@gmail.com>2018-10-25 09:03:32 -0700
commit1523111250788e0e1651d30c1fd506e9ef4ac7f0 (patch)
tree5935190f25093fb28173a4323dc971336edd32dc /doc/api/deprecations.md
parent24cb1f33d85fbb8e5cc9c10f488766ca8a21ddca (diff)
downloadandroid-node-v8-1523111250788e0e1651d30c1fd506e9ef4ac7f0.tar.gz
android-node-v8-1523111250788e0e1651d30c1fd506e9ef4ac7f0.tar.bz2
android-node-v8-1523111250788e0e1651d30c1fd506e9ef4ac7f0.zip
net: deprecate _setSimultaneousAccepts() undocumented function
This is an undocumented utility function that is of questionable utility. Fixes: https://github.com/nodejs/node/issues/18391 PR-URL: https://github.com/nodejs/node/pull/23760 Reviewed-By: Ben Noordhuis <info@bnoordhuis.nl> Reviewed-By: Anna Henningsen <anna@addaleax.net> Reviewed-By: Michaƫl Zasso <targos@protonmail.com> Reviewed-By: Matteo Collina <matteo.collina@gmail.com> Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
Diffstat (limited to 'doc/api/deprecations.md')
-rw-r--r--doc/api/deprecations.md14
1 files changed, 14 insertions, 0 deletions
diff --git a/doc/api/deprecations.md b/doc/api/deprecations.md
index 47740c197a..1aef639cfc 100644
--- a/doc/api/deprecations.md
+++ b/doc/api/deprecations.md
@@ -2264,6 +2264,20 @@ undocumented `COUNTER_NET_SERVER_CONNECTION()`,
`COUNTER_HTTP_SERVER_RESPONSE()`, `COUNTER_HTTP_CLIENT_REQUEST()`, and
`COUNTER_HTTP_CLIENT_RESPONSE()` functions have been deprecated.
+<a id="DEP00XX"></a>
+### DEP00XX: net._setSimultaneousAccepts()
+<!-- YAML
+changes:
+ - version: REPLACEME
+ pr-url: https://github.com/nodejs/node/pull/23760
+ description: Runtime deprecation.
+-->
+
+The undocumented `net._setSimultaneousAccepts()` function was originally
+intended for debugging and performance tuning when using the `child_process`
+and `cluster` modules on Windows. The function is not generally useful and
+is being removed. See discussion here:
+https://github.com/nodejs/node/issues/18391
[`--pending-deprecation`]: cli.html#cli_pending_deprecation
[`Buffer.allocUnsafeSlow(size)`]: buffer.html#buffer_class_method_buffer_allocunsafeslow_size