mirror of
https://github.com/XTLS/Xray-core.git
synced 2025-04-29 16:58:34 +00:00
Refine "only" in Mux config
This commit is contained in:
parent
05d24d6827
commit
29d7865d78
4 changed files with 14 additions and 7 deletions
|
@ -595,7 +595,7 @@ type MultiplexingConfig struct {
|
|||
Enabled bool `protobuf:"varint,1,opt,name=enabled,proto3" json:"enabled,omitempty"`
|
||||
// Max number of concurrent connections that one Mux connection can handle.
|
||||
Concurrency uint32 `protobuf:"varint,2,opt,name=concurrency,proto3" json:"concurrency,omitempty"`
|
||||
// Both(0), TCP(1), UDP(2).
|
||||
// Both(0), TCP(net.Network_TCP), UDP(net.Network_UDP).
|
||||
Only uint32 `protobuf:"varint,3,opt,name=only,proto3" json:"only,omitempty"`
|
||||
}
|
||||
|
||||
|
|
|
@ -98,6 +98,6 @@ message MultiplexingConfig {
|
|||
bool enabled = 1;
|
||||
// Max number of concurrent connections that one Mux connection can handle.
|
||||
uint32 concurrency = 2;
|
||||
// Both(0), TCP(1), UDP(2).
|
||||
// Both(0), TCP(net.Network_TCP), UDP(net.Network_UDP).
|
||||
uint32 only = 3;
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue