Revert "core: refactor http webclient part 11 #8529 (#7728)"

This reverts commit e0ef6bc8a8.
This commit is contained in:
ngosang
2020-09-21 08:03:08 +02:00
parent a8d055f0d5
commit 90d31a9b8e
5 changed files with 507 additions and 3 deletions

View File

@@ -4,6 +4,7 @@ using System.Linq;
using System.Net;
using System.Net.Http;
using System.Text;
using System.Text.RegularExpressions;
using System.Threading.Tasks;
using CloudflareSolverRe;
using Jackett.Common.Helpers;
@@ -68,8 +69,6 @@ namespace Jackett.Common.Utils.Clients
public override void Init()
{
ServicePointManager.DefaultConnectionLimit = 1000;
base.Init();
ServicePointManager.SecurityProtocol = (SecurityProtocolType)192 | (SecurityProtocolType)768 | (SecurityProtocolType)3072;