mirror of
https://github.com/nodejs/node.git
synced 2026-11-09 15:11:11 -05:00
Preserve literal IP hosts on net.Socket before connection. This keeps wrapped TLS sessions bound to the correct peer when tls.connect() uses a provided socket. Fixes: https://github.com/nodejs/node/issues/64402 Signed-off-by: harjoth <harjoth.khara@gmail.com> Assisted-by: Codex PR-URL: https://github.com/nodejs/node/pull/64430 Reviewed-By: Tim Perry <pimterry@gmail.com>