mirror of
https://github.com/SagerNet/sing-box.git
synced 2026-06-28 19:51:33 +00:00
The URL test history update hook and the Clash mode update hook were single-slot: the API service's attached service overwrote the hook set by the daemon, so clients stopped receiving group updates. Replace both with multicast hook lists. Also share a single URL test history storage via context: Clash API looked it up under a key nobody registered and fell back to its own empty storage, so dashboards showed no delay once an API service was configured. Selector changes now notify through the shared storage, covering selections made from any API surface. |
||
|---|---|---|
| .. | ||
| api_meta.go | ||
| api_meta_group.go | ||
| api_meta_upgrade.go | ||
| cache.go | ||
| common.go | ||
| configs.go | ||
| connections.go | ||
| ctxkeys.go | ||
| dns.go | ||
| errors.go | ||
| profile.go | ||
| provider.go | ||
| proxies.go | ||
| ruleprovider.go | ||
| rules.go | ||
| script.go | ||
| server.go | ||
| server_fs.go | ||
| server_resources.go | ||