Constant rotor_http::server::MAX_CHUNK_HEAD [] [src]

pub const MAX_CHUNK_HEAD: usize = 128

The maximum length of chunk size line in bytes.

It would be okay with 12 bytes, but in theory there might be some extensions which we skip. Note that the header is also used for padding.

Note: we don't have a limit on chunk body size. In buffered request mode it's limited by either memory or artificial limit returned from handler. In unbuffered mode we can process chunk of unlimited size as long as request handler is able to handle it.