Skip to content

Fix hostname for SSL over UDS operation #120

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
Oct 24, 2016
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 7 additions & 0 deletions .ci/config/config.uds+ssl.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
{
"Data": {
"ConnectionString": "server=./.ci/mysqld/mysqld.sock;user id=ssltest;password=test;database=mysqltest;ssl mode=required;certificate file=.ci/server/ssl-client.pfx;Use Affected Rows=true",
"PasswordlessUser": "no_password",
"SupportsJson": true
}
}
3 changes: 1 addition & 2 deletions src/MySqlConnector/Serialization/MySqlSession.cs
Original file line number Diff line number Diff line change
Expand Up @@ -460,8 +460,7 @@ private enum State
}

State m_state;
string m_hostname;

string m_hostname = "";
TcpClient m_tcpClient;
Socket m_socket;
NetworkStream m_networkStream;
Expand Down
5 changes: 0 additions & 5 deletions tests/MySqlConnector.Performance/config.json.example.ssl

This file was deleted.