sing-box/dns
世界 e7a9c90213
Fix DNS cache lock goroutine leak
The cache deduplication in Client.Exchange uses a channel-based lock
per DNS question. Waiting goroutines blocked on <-cond without context
awareness, causing them to accumulate indefinitely when the owning
goroutine's transport call stalls. Add select on ctx.Done() so waiters
respect context cancellation and timeouts.
2026-02-06 22:28:30 +08:00
..
transport Fix reset buffer in dhcp response loop 2026-01-05 17:46:59 +08:00
client.go Fix DNS cache lock goroutine leak 2026-02-06 22:28:30 +08:00
client_log.go refactor: DNS 2025-07-08 13:12:14 +08:00
client_truncate.go Fix dns truncate 2025-10-05 17:58:21 +08:00
extension_edns0_subnet.go Fix set edns0 client subnet 2025-07-08 13:14:38 +08:00
rcode.go Fix DNS exchange 2025-09-12 18:05:02 +08:00
router.go Fix DNS cache not working when domain strategy is set 2025-12-21 16:59:10 +08:00
transport_adapter.go refactor: Outbound domain resolver 2025-07-08 13:12:14 +08:00
transport_dialer.go Fix DNS packet size 2025-09-08 09:12:30 +08:00
transport_manager.go Fail when default DNS server not found 2025-07-08 13:12:28 +08:00
transport_registry.go refactor: DNS 2025-07-08 13:12:14 +08:00