You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Changing the configured CA file temporarily reuses the previous trust material #6095
upstreamCaIdentity throttles all configured-file lookups for 30 seconds even after the selected path changes. The new path reuses the old dispatcher identity and merged roots, including a prior missing-file result.
Reproduction
At master 541cf26, pin time, load CA file A, then switch BILI_CA_FILE to B without resetting the module. Both an existing A and a missing A retain their identity instead of immediately using B. The base produces 11 passed / 2 failed.
Expected
Throttle mtime probes only when the configured path matches the cached identity. Path changes refresh immediately. Same-path edits retain the existing 30-second rotation behavior and built-in roots are still merged.
Prior work
Screened all 3,221 cached upstream PRs. #3786 introduced the trust-file cache; open #4417 adds TLS forensics and certificate logging. Neither invalidates the identity when the configured path changes. Previous Afloat16 PRs #6046–#6055 are excluded.
Activity
ranxianglei commentedon Nov 12, 2026
Fixed in batch PR #6439 (merged).