Skip to main content

run_server

Function run_server 

Source
pub fn run_server(config: Config, config_path: Option<PathBuf>) -> !
Expand description

Build filter pipelines using built-in and auto-discovered external filters, register protocols and run the server.

§Security: Root Check

On Unix, this function refuses to start if the effective UID is 0 (root). Set insecure_options.allow_root: true in the configuration to override. Prefer CAP_NET_BIND_SERVICE or a reverse proxy for low-port binding.

Config is owned for the server’s lifetime (never returns).