const MAX_HANDSHAKE_SIZE: u32 = 0xffff;
Expand description

TLS allows for handshake messages of up to 16MB. We restrict that to 64KB to limit potential for denial-of- service.