mirror of
https://github.com/nodejs/node.git
synced 2026-11-09 15:11:11 -05:00
When `tls.connect()` is called with `socket` option, it should try to reuse hostname previously passed to `net.connect()` and only after that fall back to `'localhost'`. fix #6409