From 5b4ab75220bf3898fd673971a5df51ed4b4075af Mon Sep 17 00:00:00 2001 From: ta264 Date: Thu, 25 Jul 2019 21:39:54 +0100 Subject: [PATCH] Fixed: Add timeout to fingerprinting API request --- src/NzbDrone.Core/Parser/FingerprintingService.cs | 1 + 1 file changed, 1 insertion(+) diff --git a/src/NzbDrone.Core/Parser/FingerprintingService.cs b/src/NzbDrone.Core/Parser/FingerprintingService.cs index 9e039f680..42b532a46 100644 --- a/src/NzbDrone.Core/Parser/FingerprintingService.cs +++ b/src/NzbDrone.Core/Parser/FingerprintingService.cs @@ -362,6 +362,7 @@ namespace NzbDrone.Core.Parser httpRequest.Headers.Add("Content-Encoding", "gzip"); httpRequest.Headers.ContentType = "application/x-www-form-urlencoded"; httpRequest.SuppressHttpError = true; + httpRequest.RequestTimeout = TimeSpan.FromSeconds(5); HttpResponse httpResponse;