diff options
author | oyyd <oyydoibh@gmail.com> | 2019-03-13 16:10:54 +0300 |
---|---|---|
committer | oyyd <oyydoibh@gmail.com> | 2019-03-15 05:26:37 +0300 |
commit | cd8b7391dcb1d889b7bf81f4bdb8f7990a6ad475 (patch) | |
tree | 78d174f9fe357ec91448f920cb61cc66a8a83a15 /lib/internal/main | |
parent | d78d33d6916dcf8c88949b953664f40a10111467 (diff) |
net: some scattered cleanup
This commit cleans up net module, including: 1. remove assigning
`handle.readable` and `handle.writable` 2. documents
`NODE_PENDING_PIPE_INSTANCES` enviroment variable 3. use constants
for '0.0.0.0' and '::'.
PR-URL: https://github.com/nodejs/node/pull/24128
Reviewed-By: Anna Henningsen <anna@addaleax.net>
Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de>
Diffstat (limited to 'lib/internal/main')
-rw-r--r-- | lib/internal/main/print_help.js | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/lib/internal/main/print_help.js b/lib/internal/main/print_help.js index d34c412d168..451f0c13835 100644 --- a/lib/internal/main/print_help.js +++ b/lib/internal/main/print_help.js @@ -28,6 +28,8 @@ const envVars = new Map([ 'of directories prefixed to the module search path' }], ['NODE_PENDING_DEPRECATION', { helpText: 'set to 1 to emit pending ' + 'deprecation warnings' }], + ['NODE_PENDING_PIPE_INSTANCES', { helpText: 'set the number of pending ' + + 'pipe instance handles on Windows' }], ['NODE_PRESERVE_SYMLINKS', { helpText: 'set to 1 to preserve symbolic ' + 'links when resolving and caching modules' }], ['NODE_REDIRECT_WARNINGS', { helpText: 'write warnings to path instead ' + |