Skip to content

Fix tls=true didn't work with host without port. #718

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

Merged
merged 1 commit into from
Dec 4, 2017

Conversation

methane
Copy link
Member

@methane methane commented Nov 30, 2017

Fixes #717

Description

After #669, port can be omitted. But if tls=true is used, tls.ServerName is not filled.

Checklist

  • Code compiles correctly
  • Created tests which fail without the change (if possible)
  • All tests passing
  • Extended the README / documentation, if necessary
  • Added myself / the copyright holder to the AUTHORS file

@methane methane force-pushed the fix-717-tls-hostport branch from 04e90ad to c5207bc Compare November 30, 2017 14:50
@methane methane merged commit 9181e3a into go-sql-driver:master Dec 4, 2017
@methane methane deleted the fix-717-tls-hostport branch December 4, 2017 00:43
@msabramo
Copy link

msabramo commented Feb 6, 2018

Looks like this change has not made it into a release yet, since the last release was in 2016. Any plans to cut a release? (if not, I can pull from git, but I'd use an official release version if one is coming soon)

bLamarche413 pushed a commit to bLamarche413/mysql that referenced this pull request Mar 23, 2018
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