refactor: connection handling timeout
This commit is contained in:
parent
7645830c77
commit
8c0bbf17e2
6 changed files with 34 additions and 33 deletions
|
|
@ -55,10 +55,10 @@ where
|
|||
if proxy_config.https_port.is_some() {
|
||||
info!("Listen port: {} (for TLS)", proxy_config.https_port.unwrap());
|
||||
}
|
||||
if proxy_config.connection_handling_timeout.as_secs() < u64::MAX {
|
||||
if proxy_config.connection_handling_timeout.is_some() {
|
||||
info!(
|
||||
"Force connection handling timeout: {} sec",
|
||||
proxy_config.connection_handling_timeout.as_secs()
|
||||
"Force connection handling timeout: {:?} sec",
|
||||
proxy_config.connection_handling_timeout.unwrap_or_default().as_secs()
|
||||
);
|
||||
}
|
||||
#[cfg(any(feature = "http3-quinn", feature = "http3-s2n"))]
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue