Skip to main content

parse_client_hello_handshake_prefix_with_config

Function parse_client_hello_handshake_prefix_with_config 

pub fn parse_client_hello_handshake_prefix_with_config(
    i: &[u8],
    config: ClientHelloReassemblyConfig,
) -> ClientHelloHandshakePrefix
Available on crate feature tls only.
Expand description

Classify a record-framed ClientHello using explicit reassembly bounds.

A partial record is incomplete even if its available payload contains the entire hello. Once its containing record is complete, subsequent handshake messages and records are ignored. Limit violations are invalid immediately.