Commit Graph

1 Commits (13553c133287141c92d088b148f4689e63859c09)

Author SHA1 Message Date
Fedor Indutny 5977cba985 tls: reuse hostname from underlying net.Socket
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
2013-10-31 01:57:17 +04:00