spawn handshake async task to avoid blocking
This commit is contained in:
parent
d2fbf8db4d
commit
01a13d0168
2 changed files with 40 additions and 31 deletions
|
|
@ -4,9 +4,9 @@ pub const LISTEN_ADDRESSES_V6: &[&str] = &["[::]"];
|
|||
// pub const HTTPS_LISTEN_PORT: u16 = 8443;
|
||||
pub const PROXY_TIMEOUT_SEC: u64 = 60;
|
||||
pub const UPSTREAM_TIMEOUT_SEC: u64 = 60;
|
||||
pub const TLS_HANDSHAKE_TIMEOUT_SEC: u64 = 3;
|
||||
pub const MAX_CLIENTS: usize = 512;
|
||||
pub const MAX_CONCURRENT_STREAMS: u32 = 64;
|
||||
// #[cfg(feature = "tls")]
|
||||
pub const CERTS_WATCH_DELAY_SECS: u32 = 60;
|
||||
|
||||
// #[cfg(feature = "http3")]
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue