diff --git a/proxmox-rest-server/src/connection.rs b/proxmox-rest-server/src/connection.rs index 7681f00c..1bec28d3 100644 --- a/proxmox-rest-server/src/connection.rs +++ b/proxmox-rest-server/src/connection.rs @@ -226,7 +226,9 @@ impl AcceptBuilder { _ = shutdown_future => break, }; #[cfg(not(feature = "rate-limited-stream"))] - drop(peer); + { + let _ = &peer; + } sock.set_nodelay(true).unwrap(); let _ = proxmox_sys::linux::socket::set_tcp_keepalive(