mirror of
https://github.com/rustdesk/rustdesk
synced 2026-05-24 01:18:21 +00:00
longer test_nat timeout
This commit is contained in:
parent
908a7071a7
commit
08330cdaeb
1 changed files with 1 additions and 1 deletions
|
|
@ -275,7 +275,7 @@ async fn test_nat_type_() -> ResultType<bool> {
|
||||||
.await?;
|
.await?;
|
||||||
addr = socket.local_addr();
|
addr = socket.local_addr();
|
||||||
socket.send(&msg_out).await?;
|
socket.send(&msg_out).await?;
|
||||||
if let Some(Ok(bytes)) = socket.next_timeout(3000).await {
|
if let Some(Ok(bytes)) = socket.next_timeout(RENDEZVOUS_TIMEOUT).await {
|
||||||
if let Ok(msg_in) = RendezvousMessage::parse_from_bytes(&bytes) {
|
if let Ok(msg_in) = RendezvousMessage::parse_from_bytes(&bytes) {
|
||||||
if let Some(rendezvous_message::Union::test_nat_response(tnr)) = msg_in.union {
|
if let Some(rendezvous_message::Union::test_nat_response(tnr)) = msg_in.union {
|
||||||
if i == 0 {
|
if i == 0 {
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue