Skip to content

Commit c3c02d1

Browse files
breeve1breeve
authored andcommitted
fix ssl
1 parent 05e9124 commit c3c02d1

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

Pickaxe.Runtime/Runable.cs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -78,6 +78,7 @@ private void OnHighlight(int line)
7878
public void Run()
7979
{
8080
ServicePointManager.DefaultConnectionLimit = int.MaxValue;
81+
ServicePointManager.SecurityProtocol |= (SecurityProtocolType)3072; //TLS 1.2
8182

8283
var cultureInfo = new CultureInfo("en-US");
8384
cultureInfo.DateTimeFormat.LongTimePattern = "HH:mm:ss.fff";

0 commit comments

Comments
 (0)