Skip to content

Conversation

jrmerz
Copy link
Contributor

@jrmerz jrmerz commented May 8, 2019

Currently the host is always set to the tls.connect() servername option, even if the host is a ip address. This triggers the following depreciation warning: Setting the TLS ServerName to an IP address is not permitted by RFC 6066.

The patch will only set the servername option in tls.connect() if net.isIP(host) === 0.

@jrmerz jrmerz changed the title skip TLS SNI if host is IP address Skip TLS SNI if host is IP address May 8, 2019
@brianc
Copy link
Owner

brianc commented Nov 11, 2019

thank you! sorry for the delay - new release w/ this coming out on Wednesday.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants