0
0
mirror of https://github.com/nodejs/node.git synced 2024-12-01 16:10:02 +01:00
nodejs/lib
Rusty Conover ee9e689df2 net: track state of setNoDelay() and prevent unnecessary system calls
The state of .setNoDelay() is now tracked and code will prevent repeated
system calls to setsockopt() when the value has already been set to the
desired value for the socket.

Change and expand the appropriate test.

PR-URL: https://github.com/nodejs/node/pull/31543
Reviewed-By: James M Snell <jasnell@gmail.com>
Reviewed-By: Rich Trott <rtrott@gmail.com>
Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
2020-02-03 15:15:24 -08:00
..
internal esm: import.meta.resolve with nodejs: builtins 2020-02-03 18:31:02 +02:00
_http_agent.js http: use for...of in http library code 2019-12-17 10:18:00 -08:00
_http_client.js http: make --insecure-http-parser configurable per-stream or per-server 2020-01-24 17:54:23 +01:00
_http_common.js http: llhttp opt-in insecure HTTP header parsing 2019-12-09 09:56:16 -08:00
_http_incoming.js stream: enable autoDestroy by default 2020-01-03 01:49:10 +01:00
_http_outgoing.js http: http_outgoing rename var to let and const 2020-01-03 15:44:38 +01:00
_http_server.js http: make --insecure-http-parser configurable per-stream or per-server 2020-01-24 17:54:23 +01:00
_stream_duplex.js stream: clean up definition using defineProperties 2020-01-08 21:38:02 -08:00
_stream_passthrough.js
_stream_readable.js stream: simplify push 2020-01-13 09:25:09 +01:00
_stream_transform.js
_stream_wrap.js
_stream_writable.js stream: replace Function.prototype with primordial 2020-01-08 06:10:11 -08:00
_tls_common.js tls: for...of in _tls_common.js 2019-12-17 08:11:13 -05:00
_tls_wrap.js lib: add RegExp primordials 2020-01-07 19:26:15 -08:00
.eslintrc.yaml lib: replace BigInt64Array global by the primordials 2020-01-13 12:42:21 +01:00
assert.js lib: replace Map global by the primordials 2020-01-04 14:56:52 -08:00
async_hooks.js async_hooks: remove internal only error checking 2020-01-11 19:20:45 -08:00
buffer.js buffer: improve concat() performance 2020-01-28 19:57:20 -08:00
child_process.js lib: replace use of Error with primordials 2020-01-04 14:50:18 -08:00
cluster.js
console.js
constants.js
crypto.js crypto: add crypto.diffieHellman 2020-01-21 10:49:20 -04:00
dgram.js dgram: test to add and to drop specific membership 2019-12-25 11:58:29 +01:00
dns.js
domain.js lib: replace Map global by the primordials 2020-01-04 14:56:52 -08:00
events.js lib: replace use of Error with primordials 2020-01-04 14:50:18 -08:00
fs.js fs: return first folder made by mkdir recursive 2020-01-31 11:57:19 -08:00
http2.js
http.js
https.js https: prevent options object from being mutated 2020-01-03 20:09:27 -08:00
inspector.js lib: replace Map global by the primordials 2020-01-04 14:56:52 -08:00
module.js module: add API for interacting with source maps 2020-01-14 12:39:06 -08:00
net.js net: track state of setNoDelay() and prevent unnecessary system calls 2020-02-03 15:15:24 -08:00
os.js lib: replace Symbol.toPrimitive to SymbolToPrimitive primordials 2019-12-13 20:05:49 -05:00
path.js
perf_hooks.js lib: replace Map global by the primordials 2020-01-04 14:56:52 -08:00
process.js
punycode.js lib: use strict equality comparison 2019-12-14 08:57:36 -05:00
querystring.js lib: enforce use of Array from primordials 2019-11-27 19:29:01 +01:00
readline.js util: improve unicode support 2020-01-22 15:33:03 +01:00
repl.js repl: do not preview while pasting code 2020-01-13 08:59:45 +01:00
stream.js
string_decoder.js lib: replace Symbol global by the primordials Symbol 2019-12-08 13:38:58 +01:00
sys.js
timers.js timers: fix refresh for expired timers 2019-12-25 12:45:24 +01:00
tls.js tls: allow empty subject even with altNames defined 2019-11-29 02:13:41 +01:00
trace_events.js lib: replace Set global by the primordials 2020-01-04 12:41:09 -08:00
tty.js lib: use static Number properties from primordials 2019-11-30 13:45:38 +01:00
url.js url: declare iterator inside loop 2019-12-11 16:38:06 -06:00
util.js lib: replace use of Error with primordials 2020-01-04 14:50:18 -08:00
v8.js worker: add ability to take heap snapshot from parent thread 2020-02-03 07:04:13 -08:00
vm.js doc,vm,test: remove _sandbox_ from vm documentation 2019-12-24 16:14:05 -08:00
wasi.js wasi: improve use of primordials 2020-01-07 21:49:20 -05:00
worker_threads.js
zlib.js lib: replace use of Error with primordials 2020-01-04 14:50:18 -08:00