This commit is contained in:
JustArchi
2017-12-12 14:12:21 +01:00
parent 368c616d3e
commit 602613c437

View File

@@ -50,7 +50,8 @@ namespace ArchiSteamFarm {
HttpClientHandler httpClientHandler = new HttpClientHandler {
AutomaticDecompression = DecompressionMethods.Deflate | DecompressionMethods.GZip,
CookieContainer = CookieContainer,
MaxConnectionsPerServer = MaxConnections
MaxConnectionsPerServer = MaxConnections,
UseProxy = false
};
HttpClient = new HttpClient(httpClientHandler) { Timeout = TimeSpan.FromSeconds(extendedTimeout ? ExtendedTimeoutMultiplier * Program.GlobalConfig.ConnectionTimeout : Program.GlobalConfig.ConnectionTimeout) };