mirror of
https://github.com/YGGverse/aquatic.git
synced 2026-03-31 17:55:36 +00:00
aquatic_udp: double MAX_PACKAGE_SIZE to allow for large responses
This commit is contained in:
parent
0107b3a77e
commit
bb75907c07
1 changed files with 1 additions and 1 deletions
|
|
@ -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;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue