reconsider timeout for h3 connections
This commit is contained in:
parent
9c93b1cc31
commit
4f5a1cbf91
6 changed files with 35 additions and 35 deletions
|
|
@ -2,7 +2,8 @@ pub const LISTEN_ADDRESSES_V4: &[&str] = &["0.0.0.0"];
|
|||
pub const LISTEN_ADDRESSES_V6: &[&str] = &["[::]"];
|
||||
// pub const HTTP_LISTEN_PORT: u16 = 8080;
|
||||
// pub const HTTPS_LISTEN_PORT: u16 = 8443;
|
||||
pub const TIMEOUT_SEC: u64 = 10;
|
||||
pub const PROXY_TIMEOUT_SEC: u64 = 10;
|
||||
pub const UPSTREAM_TIMEOUT_SEC: u64 = 8;
|
||||
pub const MAX_CLIENTS: usize = 512;
|
||||
pub const MAX_CONCURRENT_STREAMS: u32 = 16;
|
||||
// #[cfg(feature = "tls")]
|
||||
|
|
@ -10,5 +11,3 @@ pub const CERTS_WATCH_DELAY_SECS: u32 = 10;
|
|||
|
||||
#[cfg(feature = "h3")]
|
||||
pub const H3_ALT_SVC_MAX_AGE: u32 = 60;
|
||||
#[cfg(feature = "h3")]
|
||||
pub const H3_CONN_TIMEOUT_MILLIS: u64 = 2000;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue