aquatic_udp: double MAX_PACKAGE_SIZE to allow for large responses

This commit is contained in:
Joakim Frostegård 2021-10-30 17:03:07 +02:00
parent 0107b3a77e
commit bb75907c07

View file

@ -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;