Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add SNI support to net/smtp #4

Merged
merged 1 commit into from
Jul 18, 2020
Merged

Add SNI support to net/smtp #4

merged 1 commit into from
Jul 18, 2020

Conversation

nevans
Copy link
Contributor

@nevans nevans commented Mar 24, 2020

It looks like SNI support has already been added to FTP, HTTP, IMAP, and POP. I think that SMTP is the only Net::Protocol class remaining.

Since it's used by all of the Net::Protocol classes, does it make more sense to move this into Net::Protocol#ssl_socket_connect(socket, open_timeout, hostname) similar to the suggestion here: https://bugs.ruby-lang.org/issues/15594#change-77564 ?

@nevans
Copy link
Contributor Author

nevans commented Mar 24, 2020

I didn't realize that net/smtp had been gemified in ruby 2.7, so I also posted this issue here: https://bugs.ruby-lang.org/issues/16611 and here ruby/ruby#2883

This was referenced Mar 24, 2020
@znz znz merged commit 58ec00f into ruby:master Jul 18, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

2 participants