Skip to main content

check_socket_path_len

Function check_socket_path_len 

Source
pub fn check_socket_path_len(path: &Path) -> Result<()>
Expand description

Fails closed if the socket path is too long for the platform’s sockaddr_un, with an actionable message instead of an opaque bind error.