mirror of
https://github.com/XTLS/Xray-core.git
synced 2025-05-17 17:48:40 +00:00
Add maxReuseTimes
This commit is contained in:
parent
4ce65fc74c
commit
c55beec5a9
6 changed files with 36 additions and 14 deletions
|
@ -58,7 +58,7 @@ func TestClientWorkerClose(t *testing.T) {
|
|||
Writer: w1,
|
||||
}, mux.ClientStrategy{
|
||||
MaxConcurrency: 4,
|
||||
MaxConnection: 4,
|
||||
MaxReuseTimes: 4,
|
||||
})
|
||||
common.Must(err)
|
||||
|
||||
|
@ -68,7 +68,7 @@ func TestClientWorkerClose(t *testing.T) {
|
|||
Writer: w2,
|
||||
}, mux.ClientStrategy{
|
||||
MaxConcurrency: 4,
|
||||
MaxConnection: 4,
|
||||
MaxReuseTimes: 4,
|
||||
})
|
||||
common.Must(err)
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue