-
Notifications
You must be signed in to change notification settings - Fork 286
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
KeepAlive not working #849
Comments
Hi @kartas39 , I think you are right. This However, when we move from System.Data.SqlClient to Microsoft.Data.SqlClient on Github, this call has been removed. This Currently, the driver is not officially built against .NET5.0 but it is compatible when you use it in a .NET5.0 application. For a .net core application, the actual driver's runtime library is from \netcoreapp3.1 folder. The SNITcpHandle is part of the managed SNI implementation which is not used on Windows by default. Thanks, |
That was a miss, thanks for reporting it. |
SqlClient/src/Microsoft.Data.SqlClient/netcore/src/Microsoft/Data/SqlClient/SNI/SNITcpHandle.cs
Line 821 in 699ae37
This method is not called from anywhere. So I think it just doesn't do his stuff.
Please also pay attention that it is wrapped with if NETCOREAPP31_AND_ABOVE, which is defined as:
which does not include .Net5 I assume if you build with net5.0
The text was updated successfully, but these errors were encountered: