Skip to main content

MAX_LINE_LEN

Constant MAX_LINE_LEN 

Source
pub const MAX_LINE_LEN: usize = _ /* 65_536usize */;
Expand description

Largest single line accepted from the operator, in bytes.

The line accumulator grows until a newline arrives; without a cap a peer that never sends one could grow it without bound. A command line far longer than this is not a real shell command.