Skip to content

reduce certificate allocations #121

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

Conversation

caleblloyd
Copy link
Contributor

A new instance of ConnectionSettings is created once per connection, but the X509Certificate2 object is only needed if a pooled connection cannot be used.

Move creation of X509Certificate2 back to MySqlSession.InitSslAsync

@caleblloyd caleblloyd merged commit 9c58ff9 into mysql-net:master Oct 24, 2016
@caleblloyd caleblloyd deleted the f_cert_allocation branch November 13, 2016 16:20
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.

1 participant