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)]