sync rustdesk's hbb_common here

This commit is contained in:
Huabing Zhou
2023-01-06 10:40:26 +08:00
parent 753c774380
commit 2314783d42
14 changed files with 1692 additions and 234 deletions

View File

@@ -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()
{

View File

@@ -1 +1,2 @@
pub const VERSION: &str = "1.1.6";
pub const VERSION: &str = "1.1.6";
pub const BUILD_DATE: &str = "2023-01-06 10:39";