mirror of
https://github.com/XTLS/Xray-core.git
synced 2025-07-25 11:24:15 +00:00
Update client.go
This commit is contained in:
parent
e592701643
commit
0c95642099
1 changed files with 1 additions and 1 deletions
|
@ -296,7 +296,7 @@ func (m *ClientWorker) Dispatch(ctx context.Context, link *transport.Link) bool
|
|||
}
|
||||
|
||||
sm := m.sessionManager
|
||||
s := sm.Allocate(int(m.strategy.MaxConcurrency))
|
||||
s := sm.Allocate(m.strategy)
|
||||
if s == nil {
|
||||
return false
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue