mirror of
https://github.com/Jackett/Jackett.git
synced 2025-09-17 17:34:09 +02:00
Bluetigers fix SSL issue (#346)
This commit is contained in:
@@ -46,6 +46,8 @@ namespace Jackett.Utils.Clients
|
|||||||
|
|
||||||
private async Task<WebClientByteResult> Run(WebRequest webRequest)
|
private async Task<WebClientByteResult> Run(WebRequest webRequest)
|
||||||
{
|
{
|
||||||
|
ServicePointManager.SecurityProtocol = (SecurityProtocolType)192 | (SecurityProtocolType)768 | (SecurityProtocolType)3072;
|
||||||
|
|
||||||
var cookies = new CookieContainer();
|
var cookies = new CookieContainer();
|
||||||
if (!string.IsNullOrEmpty(webRequest.Cookies))
|
if (!string.IsNullOrEmpty(webRequest.Cookies))
|
||||||
{
|
{
|
||||||
|
Reference in New Issue
Block a user