File tree 2 files changed +13
-10
lines changed
2 files changed +13
-10
lines changed Original file line number Diff line number Diff line change @@ -503,11 +503,12 @@ class xHTTPStreamSettings extends XrayCommonClass {
503
503
maxConcurrency : "16-32" ,
504
504
maxConnections : 0 ,
505
505
cMaxReuseTimes : "64-128" ,
506
- cMaxLifetimeMs : 0
506
+ cMaxLifetimeMs : 0 ,
507
+ hMaxRequestTimes : "800-900" ,
508
+ hKeepAlivePeriod : 0 ,
507
509
} ,
508
510
mode = MODE_OPTION . AUTO ,
509
- noGRPCHeader = false ,
510
- keepAlivePeriod = 45 ,
511
+ noGRPCHeader = false
511
512
) {
512
513
super ( ) ;
513
514
this . path = path ;
@@ -521,7 +522,6 @@ class xHTTPStreamSettings extends XrayCommonClass {
521
522
this . xmux = xmux ;
522
523
this . mode = mode ;
523
524
this . noGRPCHeader = noGRPCHeader ;
524
- this . keepAlivePeriod = keepAlivePeriod ;
525
525
}
526
526
527
527
addHeader ( name , value ) {
@@ -545,7 +545,6 @@ class xHTTPStreamSettings extends XrayCommonClass {
545
545
json . xmux ,
546
546
json . mode ,
547
547
json . noGRPCHeader ,
548
- json . keepAlivePeriod ,
549
548
) ;
550
549
}
551
550
@@ -563,11 +562,12 @@ class xHTTPStreamSettings extends XrayCommonClass {
563
562
maxConcurrency : this . xmux . maxConcurrency ,
564
563
maxConnections : this . xmux . maxConnections ,
565
564
cMaxReuseTimes : this . xmux . cMaxReuseTimes ,
566
- cMaxLifetimeMs : this . xmux . cMaxLifetimeMs
565
+ cMaxLifetimeMs : this . xmux . cMaxLifetimeMs ,
566
+ hMaxRequestTimes : this . xmux . hMaxRequestTimes ,
567
+ hKeepAlivePeriod : this . xmux . hKeepAlivePeriod ,
567
568
} ,
568
569
mode : this . mode ,
569
570
noGRPCHeader : this . noGRPCHeader ,
570
- keepAlivePeriod : this . keepAlivePeriod ,
571
571
} ;
572
572
}
573
573
}
Original file line number Diff line number Diff line change 27
27
< a-select-option v-for ="key in MODE_OPTION " :value ="key "> [[ key ]]</ a-select-option >
28
28
</ a-select >
29
29
</ a-form-item >
30
- < a-form-item label ='keep-Alive Period '>
31
- < a-input-number v-model.number ="inbound.stream.xhttp.keepAlivePeriod "> </ a-input-number >
32
- </ a-form-item >
33
30
< a-form-item label ="Max Concurrent Upload ">
34
31
< a-input v-model.trim ="inbound.stream.xhttp.scMaxConcurrentPosts "> </ a-input >
35
32
</ a-form-item >
57
54
< a-form-item label ="Max Lifetime (ms) ">
58
55
< a-input v-model ="inbound.stream.xhttp.xmux.cMaxLifetimeMs "> </ a-input >
59
56
</ a-form-item >
57
+ < a-form-item label ="Max Request Times ">
58
+ < a-input v-model ="inbound.stream.xhttp.xmux.hMaxRequestTimes "> </ a-input >
59
+ </ a-form-item >
60
+ < a-form-item label ='Keep Alive Period '>
61
+ < a-input v-model.number ="inbound.stream.xhttp.xmux.hKeepAlivePeriod "> </ a-input >
62
+ </ a-form-item >
60
63
< a-form-item label ="No gRPC Header ">
61
64
< a-switch v-model ="inbound.stream.xhttp.noGRPCHeader "> </ a-switch >
62
65
</ a-form-item >
You can’t perform that action at this time.
0 commit comments