Searched refs:MAX_MESSAGE_SIZE (Results 1 – 1 of 1) sorted by relevance
164 const MAX_MESSAGE_SIZE: usize = 2 * 1024 * 1024; constant196 let msg = vec![0u8; MAX_MESSAGE_SIZE + 1]; in decode_max_message_size_exceeded()206 let body = body::MockBody::new(&buf[..], MAX_MESSAGE_SIZE + HEADER_SIZE + 1, 0); in decode_max_message_size_exceeded()208 let mut stream = Streaming::new_request(decoder, body, None, Some(MAX_MESSAGE_SIZE)); in decode_max_message_size_exceeded()215 MAX_MESSAGE_SIZE in decode_max_message_size_exceeded()248 let msg = vec![0u8; MAX_MESSAGE_SIZE + 1]; in encode_max_message_size_exceeded()258 Some(MAX_MESSAGE_SIZE), in encode_max_message_size_exceeded()