Module rustls::msgs::deframer

source ยท

Structsยง

Enumsยง

Constantsยง

  • HEADER_SIZE ๐Ÿ”’
  • MAX_HANDSHAKE_SIZE ๐Ÿ”’
    TLS allows for handshake messages of up to 16MB. We restrict that to 64KB to limit potential for denial-of- service.
  • READ_SIZE ๐Ÿ”’

Functionsยง

  • payload_size ๐Ÿ”’
    Determine the expected length of the payload as advertised in the header.