Skip to content

Commit 391d92c

Browse files
committed
fix: initialize HttpClient with handler for certificate revocation list setting
1 parent a6f48b2 commit 391d92c

File tree

1 file changed

+6
-1
lines changed

1 file changed

+6
-1
lines changed

src/Prober/DivingFish/DfClient.cs

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,12 @@ public abstract class DfClient
1212

1313
protected DfClient()
1414
{
15-
_httpClient = new()
15+
HttpClientHandler handler = new()
16+
{
17+
CheckCertificateRevocationList = false
18+
};
19+
20+
_httpClient = new(handler)
1621
{
1722
BaseAddress = new("https://www.diving-fish.com/")
1823
};

0 commit comments

Comments
 (0)