pub const MAX_UPLOAD_BYTES: u64 = _ /* 8_388_608u64 */;Expand description
The most one file answer may carry across all its files, and the most files it may name.
The answer is base64 JSON in one socket message, and the socket’s inbound cap is 16 MiB: 8 MiB of bytes encodes to about 10.7 MiB, so this is a cap the connection really carries rather than a promise that tears it. The client refuses past it before reading, and the server refuses again before writing.