diff options
author | Huabing Zhou <[email protected]> | 2023-01-06 10:40:26 +0800 |
---|---|---|
committer | Huabing Zhou <[email protected]> | 2023-01-06 10:40:26 +0800 |
commit | 2314783d4284a94711e48620e8fd9f315d1154dc (patch) | |
tree | bf2db1a45da2d4d231d4fef1c361862896db31a4 /src | |
parent | 753c774380edb4ae641f9fbaa343e44aea844d7c (diff) | |
download | rustdesk-server-2314783d4284a94711e48620e8fd9f315d1154dc.tar.gz rustdesk-server-2314783d4284a94711e48620e8fd9f315d1154dc.zip |
sync rustdesk's hbb_common here
Diffstat (limited to 'src')
-rw-r--r-- | src/rendezvous_server.rs | 2 | ||||
-rw-r--r-- | src/version.rs | 3 |
2 files changed, 3 insertions, 2 deletions
diff --git a/src/rendezvous_server.rs b/src/rendezvous_server.rs index 9cea15d..ed8796d 100644 --- a/src/rendezvous_server.rs +++ b/src/rendezvous_server.rs @@ -1202,7 +1202,7 @@ async fn check_relay_servers(rs0: Arc<RelayServers>, tx: Sender) { let rs = rs.clone(); let x = x.clone(); futs.push(tokio::spawn(async move { - if FramedStream::new(&host, "0.0.0.0:0", CHECK_RELAY_TIMEOUT) + if FramedStream::new(&host, None, CHECK_RELAY_TIMEOUT) .await .is_ok() { diff --git a/src/version.rs b/src/version.rs index a68926b..cd0f4db 100644 --- a/src/version.rs +++ b/src/version.rs @@ -1 +1,2 @@ -pub const VERSION: &str = "1.1.6";
\ No newline at end of file +pub const VERSION: &str = "1.1.6"; +pub const BUILD_DATE: &str = "2023-01-06 10:39";
\ No newline at end of file |