Extract strip_port_from_host into shared utils module and update normalize_host to properly strip brackets from IPv6 addresses like [::1]:443 -> ::1 instead of incorrectly using split(':').next().
12 lines
174 B
Rust
12 lines
174 B
Rust
pub mod admin;
|
|
pub mod cli;
|
|
pub mod config;
|
|
pub mod health;
|
|
pub mod logging;
|
|
pub mod proxy;
|
|
pub mod rate_limit;
|
|
pub mod server;
|
|
pub mod shutdown;
|
|
pub mod tls;
|
|
pub mod utils;
|