update tls handshake timeout

This commit is contained in:
Jun Kurihara 2022-07-23 15:22:47 +09:00
commit 860489eddb
No known key found for this signature in database
GPG key ID: 48ADFD173ED22B03

View file

@ -4,7 +4,7 @@ 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 TLS_HANDSHAKE_TIMEOUT_SEC: u64 = 15; // default as with firefox browser
pub const MAX_CLIENTS: usize = 512;
pub const MAX_CONCURRENT_STREAMS: u32 = 64;
pub const CERTS_WATCH_DELAY_SECS: u32 = 60;