Skip to content

An open-source remote desktop application designed for self-hosting, as an alternative to TeamViewer.

1024 -> 1500

rustdesk832458c59eb4
diff --git a/src/client.rs b/src/client.rs
index f2cf814cd..a35db71c5 100644
--- a/src/client.rs
+++ b/src/client.rs
@@ -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! {
diff --git a/src/common.rs b/src/common.rs
index f2f9d763e..9c86186d1 100644
--- a/src/common.rs
+++ b/src/common.rs
@@ -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! {