pub fn read_request<'a>(
socket: &impl AsFd,
storage: &'a mut [u8],
) -> Result<Request<'a>>Expand description
Read one bounded request. Gzip bodies use the storage remaining after the
compressed wire bytes and a fixed 32 KiB stack history window. Compressed
plus expanded bytes and headers must fit storage; chunked input is rejected.