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

@@ -126,6 +126,8 @@ export interface IProtocolCacheEntry {
protocol: string;
h3Port: number | null;
ageSecs: number;
lastAccessedSecs: number;
lastProbedSecs: number;
h2Suppressed: boolean;
h3Suppressed: boolean;
h2CooldownRemainingSecs: number | null;