From 220e56dfdae55e547aaecfa87670250903661e84 Mon Sep 17 00:00:00 2001 From: JustArchi Date: Thu, 2 Mar 2017 21:52:39 +0100 Subject: [PATCH] Misc --- ArchiSteamFarm/WCF.cs | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/ArchiSteamFarm/WCF.cs b/ArchiSteamFarm/WCF.cs index 9227fafdc..c043df15f 100644 --- a/ArchiSteamFarm/WCF.cs +++ b/ArchiSteamFarm/WCF.cs @@ -203,7 +203,7 @@ namespace ArchiSteamFarm { case GlobalConfig.EWCFBinding.NetTcp: result = new NetTcpBinding { // This is a balance between default of 8192 which is not enough, and int.MaxValue which is prone to DoS attacks - // We assume maximum of 1024 characters per each bot included in the response, and maximum of 255 bots overall + // We assume maximum of 255 bots and maximum of 1024 characters per each bot included in the response ReaderQuotas = { MaxStringContentLength = byte.MaxValue * 1024 }, // We use SecurityMode.None for Mono compatibility @@ -215,7 +215,7 @@ namespace ArchiSteamFarm { case GlobalConfig.EWCFBinding.BasicHttp: result = new BasicHttpBinding { // This is a balance between default of 8192 which is not enough, and int.MaxValue which is prone to DoS attacks - // We assume maximum of 1024 characters per each bot included in the response, and maximum of 255 bots overall + // We assume maximum of 255 bots and maximum of 1024 characters per each bot included in the response ReaderQuotas = { MaxStringContentLength = byte.MaxValue * 1024 } }; @@ -223,7 +223,7 @@ namespace ArchiSteamFarm { case GlobalConfig.EWCFBinding.WSHttp: result = new WSHttpBinding { // This is a balance between default of 8192 which is not enough, and int.MaxValue which is prone to DoS attacks - // We assume maximum of 1024 characters per each bot included in the response, and maximum of 255 bots overall + // We assume maximum of 255 bots and maximum of 1024 characters per each bot included in the response ReaderQuotas = { MaxStringContentLength = byte.MaxValue * 1024 }, // We use SecurityMode.None for Mono compatibility