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