mirror of
https://github.com/SagerNet/sing-box.git
synced 2025-06-13 05:44:12 +08:00
add FIXME
This commit is contained in:
parent
40ae02fc54
commit
b7cc51f1af
@ -50,6 +50,12 @@ func NewBalancer(
|
||||
}
|
||||
|
||||
// Network implements adapter.Outbound
|
||||
//
|
||||
// FIXME: logic issue:
|
||||
// picked node is very likely to be different between first "Network() assetion"
|
||||
// then "NewConnection()", maybe we need to keep the picked node in the context?
|
||||
// that requests to change the Network() signature of the interface of
|
||||
// adapter.Outbound
|
||||
func (s *Balancer) Network() []string {
|
||||
picked := s.pick()
|
||||
if picked == nil {
|
||||
|
Loading…
x
Reference in New Issue
Block a user