Check if this is the first read during handshake (for SNI callback) Returns true if we haven't processed ClientHello yet, regardless of SNI presence
(&self)
| 2655 | /// Check if this is the first read during handshake (for SNI callback) |
| 2656 | /// Returns true if we haven't processed ClientHello yet, regardless of SNI presence |
| 2657 | pub(crate) fn is_first_sni_read(&self) -> bool { |
| 2658 | self.client_hello_buffer.lock().is_none() |
| 2659 | } |
| 2660 | |
| 2661 | /// Check if SNI callback is configured |
| 2662 | pub(crate) fn has_sni_callback(&self) -> bool { |
no test coverage detected