Skip to main content

startup_check

Function startup_check 

Source
pub fn startup_check(
    addr: SocketAddr,
    auth: &Auth,
    allow_open: Option<&str>,
) -> Result<(), String>
Expand description

Refuse open mode (no tokens) on a non-loopback address unless the operator opts in with IMPROV_ALLOW_OPEN=1 (S15).