Skip to main content

MAX_SKIPPED_BYTES

Constant MAX_SKIPPED_BYTES 

Source
const MAX_SKIPPED_BYTES: usize = _ /* 8_388_608usize */;
Expand description

Maximum number of bytes discarded before the first displayed line.

Skipped bytes are not retained, so MAX_BODY_BYTES does not apply to them (#732). They still have to be downloaded to find the line boundary, so this bounds the transfer; the client timeout bounds the time.