mirror of
https://gitlab.com/comunic/comunicapiv3
synced 2025-09-25 22:29:45 +00:00
Apply stream read limit
This commit is contained in:
@@ -40,4 +40,4 @@ pub const DEFAULT_ACCOUNT_IMAGE: &str = "avatars/0Reverse.png";
|
||||
pub const ERROR_ACCOUNT_IMAGE: &str = "avatars/0Red.png";
|
||||
|
||||
/// Maximum requests size (50 Mo)
|
||||
pub const MAX_REQUEST_SIZE: u64 = 50000000;
|
||||
pub const MAX_REQUEST_SIZE: usize = 50000000;
|
Reference in New Issue
Block a user