Skip to main content

MAX_BODY_BYTES

Constant MAX_BODY_BYTES 

Source
pub const MAX_BODY_BYTES: usize = _ /* 16_384usize */;
Expand description

The largest request body the auth routes read: a password is at most 1024 bytes (MAX_PASSWORD_BYTES), and a passkey’s answer, with no attestation asked for (plan 3c decision 4), about one, so anything much larger is refused with 413 before it is parsed.