maxFrameSize constant

int const maxFrameSize

Hard cap on a frame's plaintext size, enforced on read so a malicious header/frame can never force an unbounded allocation.

Implementation

static const maxFrameSize = 64 << 20;