mirror of
https://github.com/MindWorkAI/AI-Studio.git
synced 2026-11-04 16:27:21 +00:00
Upgraded to .NET 10 (#1147)
This commit is contained in:
1 parent
faae2951f7
commit
fc7399e81b
327 files changed
+3059
-3049
No files matched your search
@@ -440,7 +440,7 @@ public static class ExternalHttpClientTimeout
|
||||
customChain.ChainPolicy.CustomTrustStore.AddRange(customRootCertificateCache.Certificates);
|
||||
customChain.ChainPolicy.ApplicationPolicy.Add(new Oid(TLS_SERVER_AUTHENTICATION_EKU_OID));
|
||||
|
||||
// Match the .NET 9 HttpClient default used for the initial system-trust validation.
|
||||
// Match the HttpClient default used for the initial system-trust validation, which .NET 10 kept.
|
||||
// Hostname, signature, validity, EKU, and root trust checks remain enabled.
|
||||
customChain.ChainPolicy.RevocationMode = X509RevocationMode.NoCheck;
|
||||
|
||||
|
||||
Reference in new issue
Block a user