fn add_handshaking_tls_session(&mut self, stream: MidHandshakeSslStream<TcpStream>) {
        let session = Session::handshaking_with_capacity(
            stream,
            crate::DEFAULT_BUFFER_SIZE,
            self.max_buffer_size,
        );
        if self.poll.add_session(session).is_err() {
            error!("failed to register handshaking TLS session with epoll");
            TCP_ACCEPT_EX.increment();
        }
    }
/// Adds a new TLS session that requires further handshaking
Adds a new TLS session that requires further handshaking
Adds a new TLS session that requires further handshaking
fn add_handshaking_tls_session(&mut self, stream: MidHandshakeSslStream<TcpStream>) {
        let session = Session::handshaking_with_capacity(
            stream,
            crate::DEFAULT_BUFFER_SIZE,
            self.max_buffer_size,
        );
        if self.poll.add_session(session).is_err() {
            error!("failed to register handshaking TLS session with epoll");
            TCP_ACCEPT_EX.increment();
        }
    }
fn add_handshaking_tls_session ( & mut self , stream : MidHandshakeSslStream < TcpStream > ) { let session = Session :: handshaking_with_capacity ( stream , crate :: DEFAULT_BUFFER_SIZE , self . max_buffer_size , ) ; if self . poll . add_session ( session ) . is_err ( ) { error ! ( " " ) ; TCP_ACCEPT_EX . increment ( ) ; } }
Adds a new TLS session that requires further handshaking
Adds a new TLS session that requires further handshaking
&mut self
stream
MidHandshakeSslStream<TcpStream>
&mut self
stream
MidHandshakeSslStream<TcpStream>