merge: Merge upstream v1.14.6

This commit is contained in:
Shtorm
2026-11-30 19:46:00 +03:00
292 changed files with 6311 additions and 5159 deletions
+7 -2
View File
@@ -2,6 +2,7 @@ package group
import (
"context"
"io"
"net"
"sync"
"time"
@@ -73,10 +74,14 @@ func (s *Fallback) Start(stage adapter.StartStage, scope *adapter.Scope) error {
return nil
}
func (s *Fallback) Now() string {
func (s *Fallback) Selected(network string) adapter.Outbound {
s.mtx.Lock()
defer s.mtx.Unlock()
return s.lastUsedOutbound
return s.outbounds[s.lastUsedOutbound]
}
func (s *Fallback) AttachConnection(closer io.Closer) func() {
return func() {}
}
func (s *Fallback) All() []string {