mirror of
https://github.com/rustdesk/rustdesk-server.git
synced 2024-12-18 05:27:47 +08:00
log version
This commit is contained in:
parent
7aaa2d7aeb
commit
c575f279cc
@ -142,6 +142,10 @@ impl RendezvousServer {
|
||||
) -> ResultType<()> {
|
||||
let mut socket = FramedSocket::new(addr).await?;
|
||||
let (tx, mut rx) = mpsc::unbounded_channel::<(RendezvousMessage, SocketAddr)>();
|
||||
let version = hbb_common::get_version_from_url(&software_url);
|
||||
if !version.is_empty() {
|
||||
log::info!("software_url: {}, version: {}", software_url, version);
|
||||
}
|
||||
let mut rs = Self {
|
||||
tcp_punch: Arc::new(Mutex::new(HashMap::new())),
|
||||
pm: PeerMap::new()?,
|
||||
@ -149,7 +153,7 @@ impl RendezvousServer {
|
||||
relay_server,
|
||||
serial,
|
||||
rendezvous_servers,
|
||||
version: hbb_common::get_version_from_url(&software_url),
|
||||
version,
|
||||
software_url,
|
||||
};
|
||||
let mut listener = new_listener(addr, false).await?;
|
||||
|
Loading…
Reference in New Issue
Block a user