diff --git a/Balancer/Program.cs b/Balancer/Program.cs index 54ec0ef..775f3a5 100644 --- a/Balancer/Program.cs +++ b/Balancer/Program.cs @@ -17,7 +17,7 @@ static class Program { private static readonly Random rand = new Random(); private const int defaultPort = 20000; - private const int timeout = 1500; + private const int timeout = 3000; private static readonly ILog log = LogManager.GetLogger(typeof(Program)); @@ -26,6 +26,8 @@ static class Program { "127.0.0.1:22722", "127.0.0.1:22723", + //"127.0.0.1:22724", + //"127.0.0.1:22725", }; static void Main(string[] args) @@ -96,7 +98,6 @@ private static async Task OnContextAsync(HttpListenerContext context) var encryptedBytes = ms.ToArray(); var encodings = context.Request.Headers.GetValues("Accept-Encoding"); var stream = context.Response.OutputStream; - Console.WriteLine(encodings.Count()); if (encodings != null && encodings.Contains("deflate")) { context.Response.AddHeader("Content-Encoding", "deflate");