1024 -> 1500

This commit is contained in:
rustdesk 2025-06-13 00:42:52 +08:00
parent 5beebf967d
commit 832458c59e
2 changed files with 2 additions and 2 deletions

View File

@ -3869,7 +3869,7 @@ async fn test_udp_uat(
}
}
let mut last_send_time = Instant::now();
let mut buf = [0u8; 1024];
let mut buf = [0u8; 1500];
loop {
tokio::select! {

View File

@ -1923,7 +1923,7 @@ pub async fn punch_udp(
packets_sent += 1;
let mut last_send_time = Instant::now();
let tm = Instant::now();
let mut data = [0u8; 1024];
let mut data = [0u8; 1500];
loop {
tokio::select! {