Skip to main content

unknown_frame

Function unknown_frame 

Source
pub fn unknown_frame<'a>(
    input: &'a [u8],
    header: &FrameHeader,
) -> IResult<&'a [u8], Frame, ParserError<'a>>
Expand description

Silently consume the payload of a frame whose type byte is not recognised, per RFC 9113 §5.5 (“Implementations MUST ignore and discard frames of unknown type”). Previously covered RFC 9218 PRIORITY_UPDATE (type 0x10); PRIORITY_UPDATE is now parsed through priority_update_frame.