From bb75907c07cf53449dd0110e8e3944b24134738b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Joakim=20Frosteg=C3=A5rd?= Date: Sat, 30 Oct 2021 17:03:07 +0200 Subject: [PATCH] aquatic_udp: double MAX_PACKAGE_SIZE to allow for large responses --- aquatic_udp/src/lib/common/mod.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/aquatic_udp/src/lib/common/mod.rs b/aquatic_udp/src/lib/common/mod.rs index e8003c7..cf47c8c 100644 --- a/aquatic_udp/src/lib/common/mod.rs +++ b/aquatic_udp/src/lib/common/mod.rs @@ -14,7 +14,7 @@ use crate::config::Config; pub mod handlers; pub mod network; -pub const MAX_PACKET_SIZE: usize = 4096; +pub const MAX_PACKET_SIZE: usize = 8192; pub trait Ip: Hash + PartialEq + Eq + Clone + Copy { fn ip_addr(self) -> IpAddr;