pingora_boringssl::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 needed because Ssl::new() doesn’t take &SslContextRef like openssl-rs