refine deps
This commit is contained in:
parent
45895ca7bc
commit
66e791f34b
11 changed files with 85 additions and 65 deletions
|
|
@ -9,13 +9,13 @@ pub const MAX_CONCURRENT_STREAMS: u32 = 64;
|
|||
// #[cfg(feature = "tls")]
|
||||
pub const CERTS_WATCH_DELAY_SECS: u32 = 30;
|
||||
|
||||
// #[cfg(feature = "h3")]
|
||||
// #[cfg(feature = "http3")]
|
||||
// pub const H3_RESPONSE_BUF_SIZE: usize = 65_536; // 64KB
|
||||
// #[cfg(feature = "h3")]
|
||||
// #[cfg(feature = "http3")]
|
||||
// pub const H3_REQUEST_BUF_SIZE: usize = 65_536; // 64KB // handled by quinn
|
||||
|
||||
#[allow(non_snake_case)]
|
||||
#[cfg(feature = "h3")]
|
||||
#[cfg(feature = "http3")]
|
||||
pub mod H3 {
|
||||
pub const ALT_SVC_MAX_AGE: u32 = 3600;
|
||||
pub const REQUEST_MAX_BODY_SIZE: usize = 268_435_456; // 256MB
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue