fixed nzbclub size parsing. Http timeout reduced from 100 to 20 seconds

This commit is contained in:
kay.one
2013-06-08 10:29:19 -07:00
parent 10cc388600
commit 5dc7e03b8d
8 changed files with 94 additions and 79 deletions

View File

@@ -80,6 +80,7 @@ namespace NzbDrone.Common
{
var request = (HttpWebRequest)WebRequest.Create(url);
request.UserAgent = _userAgent;
request.Timeout = 20 * 1000;
request.Credentials = credential;
var response = request.GetResponse();