mirror of
https://github.com/feschber/lan-mouse.git
synced 2026-03-07 11:59:59 +03:00
add missing dns request notify
This commit is contained in:
@@ -58,6 +58,7 @@ impl DnsResolver {
|
||||
|
||||
server.notify_client_update(handle);
|
||||
|
||||
log::info!("resolving ({handle}) `{hostname}` ...");
|
||||
let ips = match self.resolve(&hostname).await {
|
||||
Ok(ips) => ips,
|
||||
Err(e) => {
|
||||
|
||||
@@ -287,6 +287,7 @@ impl Server {
|
||||
|
||||
fn request_dns(&self, handle: ClientHandle) {
|
||||
self.pending_dns_requests.borrow_mut().push_back(handle);
|
||||
self.notifies.dns_request_pending.notify_one();
|
||||
}
|
||||
|
||||
async fn handle_request(
|
||||
|
||||
Reference in New Issue
Block a user