mirror of
https://github.com/Jackett/Jackett.git
synced 2025-12-22 14:16:59 +01:00
* Update download timeout => 100s => 300 s
This commit is contained in:
@@ -25,6 +25,7 @@ namespace Jackett.Common.Utils.Clients
|
||||
protected DateTime lastRequest = DateTime.MinValue;
|
||||
protected TimeSpan requestDelayTimeSpan;
|
||||
protected string ClientType;
|
||||
protected int ClientTimeout = 100; // default timeout is 100 s
|
||||
public bool EmulateBrowser = true;
|
||||
|
||||
protected static Dictionary<string, ICollection<string>> trustedCertificates = new Dictionary<string, ICollection<string>>();
|
||||
@@ -224,6 +225,8 @@ namespace Jackett.Common.Utils.Clients
|
||||
InitProxy(serverConfig);
|
||||
}
|
||||
|
||||
public virtual void SetTimeout(int seconds) => throw new NotImplementedException();
|
||||
|
||||
/**
|
||||
* This method does the same as FormUrlEncodedContent but with custom encoding instead of utf-8
|
||||
* https://stackoverflow.com/a/13832544
|
||||
|
||||
Reference in New Issue
Block a user