From 430823c1486529a5d08378b3319467a4c1cc07bd Mon Sep 17 00:00:00 2001 From: Dom Date: Thu, 13 Jan 2022 15:42:30 +0000 Subject: [PATCH] docs: fix typo Co-authored-by: Marko Mikulicic --- influxdb_iox/src/influxdb_ioxd/http/utils.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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);