node/lib
Santiago Gimeno 4d62b099b4 net: handle socket.write(cb) edge case
Make sure that when calling `write()` on a connecting socket, the
callback is called if the socket is destroyed before the connection is
established.

Fixes: https://github.com/nodejs/node/issues/30841
PR-URL: https://github.com/nodejs/node/pull/45922
Reviewed-By: Anna Henningsen <anna@addaleax.net>
Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
Reviewed-By: Minwoo Jung <nodecorelab@gmail.com>
Reviewed-By: Paolo Insogna <paolo@cowtech.it>
Reviewed-By: Matteo Collina <matteo.collina@gmail.com>
Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
2023-01-05 13:11:43 -03:00
..
assert
dns dns: make promise API fully constructed from lib/internal/dns/promises 2022-06-20 19:58:45 +01:00
fs
inspector inspector: refactor inspector/promises to be more robust 2022-11-10 09:42:57 -03:00
internal net: handle socket.write(cb) edge case 2023-01-05 13:11:43 -03:00
path
readline readline: remove question method from InterfaceConstructor 2022-09-14 19:10:53 +00:00
stream
timers timers: use kEmptyObject 2022-06-11 12:18:15 +02:00
util
.eslintrc.yaml tools: enforce use of trailing commas in tools/ 2023-01-05 13:11:33 -03:00
_http_agent.js http: use Keep-Alive by default in global agents 2022-06-29 12:48:52 +02:00
_http_client.js http: add debug log for ERR_UNESCAPED_CHARACTERS 2022-11-21 15:16:23 -05:00
_http_common.js http: fix http server connection list when close 2022-07-24 15:06:24 +01:00
_http_incoming.js Revert "http: headers(Distinct), trailers(Distinct) setters to be no-op" 2022-11-24 11:46:22 -05:00
_http_outgoing.js http: make OutgoingMessage more streamlike 2022-12-12 16:17:47 +00:00
_http_server.js http: replace var with const on code of comment 2023-01-05 13:11:40 -03:00
_stream_duplex.js
_stream_passthrough.js
_stream_readable.js
_stream_transform.js
_stream_wrap.js
_stream_writable.js
_tls_common.js tools: report unsafe string and regex primordials as lint errors 2022-06-16 00:21:57 +02:00
_tls_wrap.js net: add autoSelectFamily and autoSelectFamilyAttemptTimeout options 2022-12-12 16:17:49 +00:00
assert.js assert: add assert.Snapshot 2022-08-11 13:07:52 +00:00
async_hooks.js async_hooks: refactor to use validateObject 2023-01-05 13:11:42 -03:00
buffer.js buffer: add buffer.isUtf8 for utf8 validation 2023-01-05 13:11:36 -03:00
child_process.js child_process: validate arguments for null bytes 2022-11-10 09:42:56 -03:00
cluster.js
console.js
constants.js
crypto.js crypto: do not allow to call setFips from the worker thread 2022-07-08 11:50:24 +01:00
dgram.js dgram: add dgram send queue info 2022-08-17 16:08:58 +00:00
diagnostics_channel.js diagnostics_channel: fix diagnostics channel memory leak 2022-12-12 16:17:13 +00:00
dns.js dns: remove unnecessary parameter from validateOneOf 2022-09-17 11:44:02 +00:00
domain.js domain: fix vm promise tracking while keeping isolation 2022-07-14 12:05:50 +01:00
events.js lib: use kEmptyObject as default value for options 2023-01-05 13:11:42 -03:00
fs.js bootstrap: lazy load non-essential modules 2022-12-13 09:42:43 +00:00
http.js http: add JSDoc property descriptions 2022-11-21 15:16:20 -05:00
http2.js
https.js lib: fix JSDoc issues 2022-11-10 09:45:36 -03:00
inspector.js inspector: expose inspector.close on workers 2022-09-13 09:04:24 +00:00
module.js
net.js net: handle socket.write(cb) edge case 2023-01-05 13:11:43 -03:00
os.js os: add availableParallelism() 2023-01-05 13:11:35 -03:00
path.js path: the dot will be added(path.format) if it is not specified in ext 2022-10-10 15:12:08 +00:00
perf_hooks.js perf_hooks: add resourcetiming buffer limit 2022-08-21 10:43:39 +08:00
process.js src: disambiguate terms used to refer to builtins and addons 2022-08-09 01:36:49 +08:00
punycode.js
querystring.js
readline.js lib: add missing type of removeEventListener in question 2022-12-12 16:17:44 +00:00
repl.js modules: move modules/cjs/helpers.js to modules/helpers.js 2023-01-01 10:44:48 +00:00
stream.js
string_decoder.js
sys.js
test.js test_runner: support function mocking 2022-11-10 09:45:36 -03:00
timers.js
tls.js lib: refactor to avoid unsafe regex primordials 2022-06-27 17:16:06 +02:00
trace_events.js
tty.js tty: fix TypeError when stream is closed 2022-08-24 17:12:30 +00:00
url.js Revert "url: improve port validation" 2022-11-21 15:20:45 -05:00
util.js bootstrap: lazy load non-essential modules 2022-12-13 09:42:43 +00:00
v8.js lib: add options to the heap snapshot APIs 2022-11-10 09:45:37 -03:00
vm.js modules: move callbacks and conditions into modules/esm/utils.js 2023-01-01 10:44:49 +00:00
wasi.js wasi: use WasmMemoryObject handle for perf (#43544) 2022-06-25 11:02:32 -07:00
worker_threads.js
zlib.js