Merge tag 'v1.14.3'

This commit is contained in:
Shtorm
2026-10-19 01:05:55 +03:00
321 changed files with 6750 additions and 5105 deletions
+2 -6
View File
@@ -89,7 +89,7 @@ func (h *Outbound) Network() []string {
return []string{N.NetworkTCP, N.NetworkUDP}
}
func (h *Outbound) Start(stage adapter.StartStage) error {
func (h *Outbound) Start(stage adapter.StartStage, scope *adapter.Scope) error {
if stage == adapter.StartStateStart {
detour, loaded := h.outbound.Outbound(h.outboundTag)
if !loaded {
@@ -97,11 +97,7 @@ func (h *Outbound) Start(stage adapter.StartStage) error {
}
h.detour = detour
}
return h.router.Start(stage)
}
func (h *Outbound) Close() error {
return h.router.Close()
return h.router.Start(stage, scope)
}
func (h *Outbound) DialContext(ctx context.Context, network string, destination M.Socksaddr) (net.Conn, error) {