From 16db9ca7f10b98c8e50c21a562aa705d629b1064 Mon Sep 17 00:00:00 2001 From: Flan's server Date: Thu, 8 Oct 2020 08:14:56 +0000 Subject: [PATCH] update max size --- src/main.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main.rs b/src/main.rs index 0625ee9..7fdf177 100644 --- a/src/main.rs +++ b/src/main.rs @@ -40,7 +40,7 @@ mod forwarded_list; #[cfg(feature="trust-x-forwarded-for")] use forwarded_list::XForwardedFor; -const MAX_CONTENT_LENGTH: u64 = 1024 * 16; +const MAX_CONTENT_LENGTH: u64 = 1024 * 1024 * 4; //4MB const MAX_GEN_SIZE: usize = 256; #[derive(Debug)]