feat(protocol-cache): add sliding TTL re-probing and eviction for backend protocol detection

This commit is contained in:
2026-03-23 09:42:07 +00:00
parent 56f5697e1b
commit 3b01144c51
7 changed files with 203 additions and 36 deletions

View File

@@ -89,6 +89,8 @@ pub struct ProtocolCacheEntryMetric {
pub protocol: String,
pub h3_port: Option<u16>,
pub age_secs: u64,
pub last_accessed_secs: u64,
pub last_probed_secs: u64,
pub h2_suppressed: bool,
pub h3_suppressed: bool,
pub h2_cooldown_remaining_secs: Option<u64>,