mirror of
https://github.com/goatcorp/Dalamud.git
synced 2026-02-23 00:07:49 +01:00
fix: enable all SSL types in EntryPoint
This commit is contained in:
parent
47bae57d75
commit
38b82a9dd8
2 changed files with 5 additions and 6 deletions
|
|
@ -1,5 +1,6 @@
|
|||
using System;
|
||||
using System.IO;
|
||||
using System.Net;
|
||||
using Dalamud.Interface;
|
||||
using EasyHook;
|
||||
using Serilog;
|
||||
|
|
@ -18,6 +19,10 @@ namespace Dalamud {
|
|||
try {
|
||||
Log.Information("Initializing a session..");
|
||||
|
||||
// This is due to GitHub not supporting TLS 1.0, so we enable all TLS versions globally
|
||||
System.Net.ServicePointManager.SecurityProtocol =
|
||||
SecurityProtocolType.Tls11 | SecurityProtocolType.Tls12 | SecurityProtocolType.Tls;
|
||||
|
||||
// Log any unhandled exception.
|
||||
AppDomain.CurrentDomain.UnhandledException += OnUnhandledException;
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue