1
0

change the default max relay packet size to 1500

This commit is contained in:
EAimTY 2022-06-25 20:24:16 +09:00
parent f69d619d8c
commit 850e3f91e5

View File

@ -20,7 +20,7 @@ mod request;
mod stream; mod stream;
mod task; mod task;
pub static MAX_UDP_RELAY_PACKET_SIZE: AtomicUsize = AtomicUsize::new(65535); pub static MAX_UDP_RELAY_PACKET_SIZE: AtomicUsize = AtomicUsize::new(1500);
pub async fn init( pub async fn init(
quinn_config: ClientConfig, quinn_config: ClientConfig,