increase initial accepted content-length

Signed-off-by: eternal-flame-AD <yume@yumechi.jp>
This commit is contained in:
ゆめ 2024-11-20 06:18:35 -06:00
parent 02f4c6c10b
commit acd707e0d7
No known key found for this signature in database

View file

@ -60,7 +60,7 @@ pub mod timing;
#[cfg(feature = "cf-worker")] #[cfg(feature = "cf-worker")]
mod cf_utils; mod cf_utils;
const MAX_SIZE: usize = 32 << 20; const MAX_SIZE: usize = 128 << 20;
#[cfg(all(not(feature = "cf-worker"), not(feature = "reqwest")))] #[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"); 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");