fn add_established_tls_session(&mut self, stream: SslStream<TcpStream>) {
        let session =
            Session::tls_with_capacity(stream, crate::DEFAULT_BUFFER_SIZE, self.max_buffer_size);
        trace!("accepted new session: {:?}", session);
        if self.session_queue.try_send_any(session).is_err() {
            error!("error sending session to worker");
            TCP_ACCEPT_EX.increment();
        }
    }
/// Adds a new fully established TLS session
Adds a new fully established TLS session
Adds a new fully established TLS session
fn add_established_tls_session(&mut self, stream: SslStream<TcpStream>) {
        let session =
            Session::tls_with_capacity(stream, crate::DEFAULT_BUFFER_SIZE, self.max_buffer_size);
        trace!("accepted new session: {:?}", session);
        if self.session_queue.try_send_any(session).is_err() {
            error!("error sending session to worker");
            TCP_ACCEPT_EX.increment();
        }
    }
fn add_established_tls_session ( & mut self , stream : SslStream < TcpStream > ) { let session = Session :: tls_with_capacity ( stream , crate :: DEFAULT_BUFFER_SIZE , self . max_buffer_size ) ; trace ! ( " " session ) ; if self . session_queue . try_send_any ( session ) . is_err ( ) { error ! ( " " ) ; TCP_ACCEPT_EX . increment ( ) ; } }
Adds a new fully established TLS session
Adds a new fully established TLS session
&mut self
stream
SslStream<TcpStream>
&mut self
stream
SslStream<TcpStream>