Skip to main content

DROP_BYTES_MAX

Constant DROP_BYTES_MAX 

Source
pub const DROP_BYTES_MAX: usize = _ /* 67_108_864usize */;
Expand description

The largest file /drop takes. axum’s own default of 2 MiB refuses an ordinary screenshot or PDF; the limit sits on that one route, because the others carry a line of text or a recording.