Files
node/lib
Sergey Zelenov 6a3d358ca4 tls: forward keepAlive, keepAliveInitialDelay, noDelay to socket
`tls.connect()` silently ignores `keepAlive`, `keepAliveInitialDelay`,
and `noDelay` options. The documentation states it accepts any
`socket.connect()` option, and `net.createConnection()` with the same
options works correctly.

Forward the options through both code paths so `net.Socket`'s
constructor stores them on the internal symbols (`kSetNoDelay`,
`kSetKeepAlive`, `kSetKeepAliveInitialDelay`), which `afterConnect()`
then applies to the handle.

Fixes: https://github.com/nodejs/node/issues/62003
PR-URL: https://github.com/nodejs/node/pull/62004
Reviewed-By: Matteo Collina <matteo.collina@gmail.com>
Reviewed-By: Anna Henningsen <anna@addaleax.net>
Reviewed-By: René <contact.9a5d6388@renegade334.me.uk>
2026-02-28 11:22:35 +00:00
..
…
…
…
…
…
2025-08-05 03:51:16 +00:00
…
2025-12-10 16:12:28 +00:00
…
2025-12-22 16:14:46 +00:00
2025-09-04 11:58:50 +00:00
2026-02-21 16:30:23 +00:00
…
2026-01-22 10:59:43 +00:00
…
2025-08-05 13:45:41 +00:00