Browse Source

Fix available mux picker in reverse portal (#274)

pull/234/head
Xray9 4 years ago committed by GitHub
parent
commit
c345d4818e
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 3
      app/reverse/portal.go

3
app/reverse/portal.go

@ -157,6 +157,9 @@ func (p *StaticMuxPicker) PickAvailable() (*mux.ClientWorker, error) {
if w.draining {
continue
}
if w.client.Closed() {
continue
}
if w.client.ActiveConnections() < minConn {
minConn = w.client.ActiveConnections()
minIdx = i

Loading…
Cancel
Save