You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
[release/7.0] Close MsQuic after checking for QUIC support to free resources (#75163, #75441) (#75521)
* Unload MsQuic after checking for QUIC support to free resources (#75163)
* Revert "Revert "Unload MsQuic after checking for QUIC support to free resources. (#74749)" (#74984)"
This reverts commit 953f524.
* update helix images
* update helix images
* Improve diagnostics when opening MsQuic
Co-authored-by: Radek Zikmund <radekzikmund@microsoft.com>
* Don't unload MsQuic from the process (#75441)
* Revert helix queues change (to be done in another PR)
* Code review feedback
// Implies windows platform, check TLS1.3 availability
113
+
if(!IsWindowsVersionSupported())
94
114
{
95
115
if(NetEventSource.Log.IsEnabled())
96
116
{
97
-
NetEventSource.Info(null,$"Incompatible MsQuic library version '{version}', expecting '{MsQuicVersion}'");
117
+
NetEventSource.Info(null,$"Current Windows version ({Environment.OSVersion}) is not supported by QUIC. Minimal supported version is {MinWindowsVersion}");
98
118
}
119
+
99
120
return;
100
121
}
101
122
102
-
// Assume SChannel is being used on windows and query for the actual provider from the library
// Implies windows platform, check TLS1.3 availability
111
-
if(!IsWindowsVersionSupported())
112
-
{
113
-
if(NetEventSource.Log.IsEnabled())
114
-
{
115
-
NetEventSource.Info(null,$"Current Windows version ({Environment.OSVersion}) is not supported by QUIC. Minimal supported version is {MinWindowsVersion}");
116
-
}
127
+
IsQuicSupported=true;
128
+
}
129
+
finally
130
+
{
131
+
// Gracefully close the API table to free resources. The API table will be allocated lazily again if needed
0 commit comments