diff --git a/influxdb_iox/src/influxdb_ioxd/http/utils.rs b/influxdb_iox/src/influxdb_ioxd/http/utils.rs index d395c84ad5..d346b967a6 100644 --- a/influxdb_iox/src/influxdb_ioxd/http/utils.rs +++ b/influxdb_iox/src/influxdb_ioxd/http/utils.rs @@ -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);