From 947fd08d9d70d14dcec0bcc467e77d03bb349331 Mon Sep 17 00:00:00 2001 From: Alexandru Macocian Date: Sun, 5 Apr 2020 19:32:20 +0200 Subject: [PATCH] set http request maximum size to max value --- MTSC/MTSC.csproj | 6 +++--- MTSC/ServerSide/Handlers/HttpRoutingHandler.cs | 2 +- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/MTSC/MTSC.csproj b/MTSC/MTSC.csproj index f8b70f6..7fe2672 100644 --- a/MTSC/MTSC.csproj +++ b/MTSC/MTSC.csproj @@ -5,12 +5,12 @@ netcoreapp2.1;net48;netstandard2.0;netcoreapp3.0 - 2.4 + 2.4.1 Alexandru-Victor Macocian MTSC Modular TCP Server and Client - 0.2.4.0 - 0.2.4.0 + 0.2.4.1 + 0.2.4.1 true AnyCPU;x64 https://github.com/AlexMacocian/MTSC diff --git a/MTSC/ServerSide/Handlers/HttpRoutingHandler.cs b/MTSC/ServerSide/Handlers/HttpRoutingHandler.cs index fecdf9f..67e45aa 100644 --- a/MTSC/ServerSide/Handlers/HttpRoutingHandler.cs +++ b/MTSC/ServerSide/Handlers/HttpRoutingHandler.cs @@ -22,7 +22,7 @@ namespace MTSC.ServerSide.Handlers Func)>>(); public TimeSpan FragmentsExpirationTime { get; set; } = TimeSpan.FromSeconds(15); - public double MaximumRequestSize { get; set; } = 15000; + public double MaximumRequestSize { get; set; } = double.MaxValue; public HttpRoutingHandler() {