From 0bc00ad2f2ffc7e5c5af7f16a4067a65bc8cfe9f Mon Sep 17 00:00:00 2001 From: David Smith Date: Thu, 1 Jun 2017 00:49:05 -0500 Subject: [PATCH] Remove max buffer size setting. Use default (2 GB). Fixes issue of page sizes of over 1 MB. --- NetTally.Core/Input/Web/WebPageProvider.cs | 1 - 1 file changed, 1 deletion(-) diff --git a/NetTally.Core/Input/Web/WebPageProvider.cs b/NetTally.Core/Input/Web/WebPageProvider.cs index 299b3b57..ff5899ec 100644 --- a/NetTally.Core/Input/Web/WebPageProvider.cs +++ b/NetTally.Core/Input/Web/WebPageProvider.cs @@ -56,7 +56,6 @@ private void SetupClient() client = new HttpClient(ClientHandler); - client.MaxResponseContentBufferSize = 1000000; client.Timeout = timeout; client.DefaultRequestHeaders.Add("Accept", "text/html"); client.DefaultRequestHeaders.Add("User-Agent", UserAgent);