initial commit
This commit is contained in:
parent
8a427950ee
commit
819b944a46
12 changed files with 653 additions and 0 deletions
6
src/constants.rs
Normal file
6
src/constants.rs
Normal file
|
|
@ -0,0 +1,6 @@
|
|||
pub const LISTEN_ADDRESSES: &[&str] = &["127.0.0.1:8443", "[::1]:8443"];
|
||||
pub const TIMEOUT_SEC: u64 = 10;
|
||||
pub const MAX_CLIENTS: usize = 512;
|
||||
pub const MAX_CONCURRENT_STREAMS: u32 = 16;
|
||||
#[cfg(feature = "tls")]
|
||||
pub const CERTS_WATCH_DELAY_SECS: u32 = 10;
|
||||
Loading…
Add table
Add a link
Reference in a new issue