pingora_openssl::ext

Function ssl_from_acceptor

Source
pub fn ssl_from_acceptor(acceptor: &SslAcceptor) -> Result<Ssl, ErrorStack>
Expand description

Create a new Ssl from &SslAcceptor

this function is to unify the interface between this crate and pingora-boringssl