docs: fix typo

Co-authored-by: Marko Mikulicic <mkm@influxdata.com>
pull/24376/head
Dom 2022-01-13 15:42:30 +00:00 committed by GitHub
parent 3d32901877
commit 430823c148
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -87,7 +87,7 @@ pub async fn parse_body(
// Read at most max_size bytes to prevent a decompression bomb based
// DoS.
//
// In order to detect if the entire stream ahs been read, or truncated,
// In order to detect if the entire stream has been read, or truncated,
// read an extra byte beyond the limit and check the resulting data
// length - see test_read_gzipped_body_truncation.
let mut decoder = decoder.take(max_size as u64 + 1);