From 19b0ff284d9ab806a9e0612c1009154ee58d904b Mon Sep 17 00:00:00 2001 From: Dom Date: Mon, 30 Nov 2020 15:20:20 +0000 Subject: [PATCH] chore(server): restrict gzip deflated body size Restricts the size of the decompressed request body when using gzip. --- src/server/http_routes.rs | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/server/http_routes.rs b/src/server/http_routes.rs index c56704f6b0..c08da83569 100644 --- a/src/server/http_routes.rs +++ b/src/server/http_routes.rs @@ -188,6 +188,10 @@ async fn parse_body(req: hyper::Request) -> Result