mirror of
https://github.com/XTLS/Xray-core.git
synced 2025-07-26 03:44: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
|
sm := m.sessionManager
|
||||||
s := sm.Allocate(int(m.strategy.MaxConcurrency))
|
s := sm.Allocate(m.strategy)
|
||||||
if s == nil {
|
if s == nil {
|
||||||
return false
|
return false
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue