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