Skip to main content

probe_server_alive

Function probe_server_alive 

Source
pub fn probe_server_alive(server_addr: &SocketAddr) -> bool
Expand description

Fast NFS server liveness check via NULL RPC.

Opens a fresh TCP connection to the NFS server and sends a NULL procedure call. Returns true if the server responds within 2 seconds. Does not touch any session or cached state – safe to call from the health probe.