Update bypass action behavior for auto redirect

This commit is contained in:
世界 committed 2026-01-17 05:48:41 +08:00
1 parent 95ccb837d3
commit 494990f914
11 files changed
+75 -29

No files matched your search

+1 -1
View File
@@ -140,7 +140,7 @@ func (w *Endpoint) PrepareConnection(network string, source M.Socksaddr, destina
Network: network,
Source: source,
Destination: destination,
}, routeContext, timeout)
}, routeContext, timeout, false)
if err != nil {
switch {
case rule.IsBypassed(err):