From acd707e0d77e40dd5cabac3730049f0730285871 Mon Sep 17 00:00:00 2001 From: eternal-flame-AD Date: Wed, 20 Nov 2024 06:18:35 -0600 Subject: [PATCH] increase initial accepted content-length Signed-off-by: eternal-flame-AD --- src/lib.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/lib.rs b/src/lib.rs index 5ffd964..0123405 100644 --- a/src/lib.rs +++ b/src/lib.rs @@ -60,7 +60,7 @@ pub mod timing; #[cfg(feature = "cf-worker")] mod cf_utils; -const MAX_SIZE: usize = 32 << 20; +const MAX_SIZE: usize = 128 << 20; #[cfg(all(not(feature = "cf-worker"), not(feature = "reqwest")))] compile_error!("At least one of the `cf-worker` or `reqwest` features must be enabled. hint: '--features env-local' enables everything related to local runtime");