reconsider to load request/response body data. believe quinn to properly handle buffering body

This commit is contained in:
Jun Kurihara 2022-07-20 17:32:35 +09:00
commit da01f8ee6a
No known key found for this signature in database
GPG key ID: 48ADFD173ED22B03
3 changed files with 42 additions and 36 deletions

View file

@ -12,8 +12,10 @@ pub const CERTS_WATCH_DELAY_SECS: u32 = 30;
#[cfg(feature = "h3")]
pub const H3_ALT_SVC_MAX_AGE: u32 = 3600;
#[cfg(feature = "h3")]
pub const H3_RESPONSE_BUF_SIZE: usize = 65_536; // 64KB
// #[cfg(feature = "h3")]
// pub const H3_RESPONSE_BUF_SIZE: usize = 65_536; // 64KB
// #[cfg(feature = "h3")]
// pub const H3_REQUEST_BUF_SIZE: usize = 65_536; // 64KB // handled by quinn
#[cfg(feature = "h3")]
pub const H3_REQUEST_MAX_BODY_SIZE: usize = 268_435_456; // 256MB