Explicitly reject detour to empty direct outbounds

This commit is contained in:
世界
2025-03-20 20:48:23 +08:00
parent 833f052f9c
commit ca3f70ac53
20 changed files with 142 additions and 65 deletions

View File

@@ -456,6 +456,6 @@ func (r *Router) LookupReverseMapping(ip netip.Addr) (string, bool) {
func (r *Router) ResetNetwork() {
r.ClearCache()
for _, transport := range r.transport.Transports() {
transport.Reset()
transport.Close()
}
}