Files
sing-box/dns
世界 866731344f dns: use refcounted snapshot to narrow rule lock scope
Exchange and Lookup held rulesAccess.RLock across all DNS network I/O,
blocking rebuildRules from swapping in new rules until every in-flight
query finished. Replace the RWMutex with an atomic pointer to a
refcounted rulesSnapshot so queries only hold a snapshot reference
during execution, allowing concurrent rule rebuilds.
2026-04-01 16:23:39 +08:00
..
2025-07-08 13:12:14 +08:00
2025-10-05 17:58:21 +08:00
2025-09-12 18:05:02 +08:00
2025-07-08 13:12:14 +08:00