Skip to content

Commit 4cb216a

Browse files
committed
feat: specify CheckCertificateRevocationList for HttpHelper.HttpClient
1 parent 46c255d commit 4cb216a

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/WeihanLi.Common/Helpers/HttpHelper.cs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -84,6 +84,7 @@ public static bool IsWellKnownContentHeader(string header)
8484
private static readonly Lazy<HttpClient> SharedHttpClient = new(() => new(new NoProxyHttpClientHandler()
8585
{
8686
UseCookies = false,
87+
CheckCertificateRevocationList = false,
8788
#if NET
8889
AutomaticDecompression = DecompressionMethods.All
8990
#else

0 commit comments

Comments
 (0)