workaround for failure to bind tcp/quic listeners, improved?

This commit is contained in:
Jun Kurihara 2022-07-06 23:08:55 +09:00
commit c027f4456d
No known key found for this signature in database
GPG key ID: 48ADFD173ED22B03
3 changed files with 48 additions and 30 deletions

View file

@ -8,7 +8,8 @@ pub const MAX_CONCURRENT_STREAMS: u32 = 16;
// #[cfg(feature = "tls")]
pub const CERTS_WATCH_DELAY_SECS: u32 = 10;
pub const GET_LISTENER_RETRY_TIMEOUT_SEC: u64 = 2;
pub const GET_LISTENER_RETRY_MAX_CNT: u64 = 128;
pub const GET_LISTENER_RETRY_WAITING_MSEC: u64 = 10;
#[cfg(feature = "h3")]
pub const H3_ALT_SVC_MAX_AGE: u32 = 60;