update max size

serve
Avril 4 years ago
parent 7fe14a8e18
commit 16db9ca7f1
Signed by: flanchan
GPG Key ID: 966FE03CC0E0B199

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

Loading…
Cancel
Save