1024 -> 1500
This commit is contained in:
parent
5beebf967d
commit
832458c59e
2 changed files with 2 additions and 2 deletions
|
|
@ -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! {
|
||||
|
|
|
|||
|
|
@ -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! {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue