From 6f36c48146e76f5a8ca6ada64431d829e98b3aeb Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E9=99=88=E5=9B=BD=E4=BC=9F?= <366193849@qq.com> Date: Thu, 5 Aug 2021 12:47:32 +0800 Subject: [PATCH] =?UTF-8?q?=E4=B8=8D=E9=99=90=E5=88=B6=E8=AF=B7=E6=B1=82bo?= =?UTF-8?q?dy=E5=A4=A7=E5=B0=8F?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- FastGithub/Program.cs | 1 + 1 file changed, 1 insertion(+) diff --git a/FastGithub/Program.cs b/FastGithub/Program.cs index 89da123..0cb6857 100644 --- a/FastGithub/Program.cs +++ b/FastGithub/Program.cs @@ -45,6 +45,7 @@ namespace FastGithub webBuilder.UseShutdownTimeout(TimeSpan.FromSeconds(2d)); webBuilder.UseKestrel(kestrel => { + kestrel.Limits.MaxRequestBodySize = null; kestrel.ListenHttpReverseProxy(); kestrel.ListenHttpsReverseProxy(); });