Function http_tcp_handler_fn

Source
async fn http_tcp_handler_fn(
    tcp_stream: TcpStream,
    client_address: SocketAddr,
    server_address: SocketAddr,
    loggers: Loggers,
    configurations: Arc<ServerConfigurations>,
    tls_config: Option<Arc<ServerConfig>>,
    http3_enabled: bool,
    connection_reference: Arc<()>,
    acme_tls_alpn_01_config: Option<Arc<ServerConfig>>,
    acme_http_01_resolvers: Arc<RwLock<Vec<Arc<RwLock<Option<(String, String)>>>>>>,
    enable_proxy_protocol: bool,
    shutdown_rx: CancellationToken,
)
Expand description

HTTP/1.x and HTTP/2 handler function