MAX_HANDSHAKE_SIZE

Constant MAX_HANDSHAKE_SIZE 

Source
const MAX_HANDSHAKE_SIZE: usize = 0xffff;
Expand description

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