aboutsummaryrefslogtreecommitdiffhomepage
path: root/src
diff options
context:
space:
mode:
authorHuabing Zhou <[email protected]>2023-01-06 10:40:26 +0800
committerHuabing Zhou <[email protected]>2023-01-06 10:40:26 +0800
commit2314783d4284a94711e48620e8fd9f315d1154dc (patch)
treebf2db1a45da2d4d231d4fef1c361862896db31a4 /src
parent753c774380edb4ae641f9fbaa343e44aea844d7c (diff)
downloadrustdesk-server-2314783d4284a94711e48620e8fd9f315d1154dc.tar.gz
rustdesk-server-2314783d4284a94711e48620e8fd9f315d1154dc.zip
sync rustdesk's hbb_common here
Diffstat (limited to 'src')
-rw-r--r--src/rendezvous_server.rs2
-rw-r--r--src/version.rs3
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