v2ray-plugin icon indicating copy to clipboard operation
v2ray-plugin copied to clipboard

more info about -mux option

Open MasoudSaraf opened this issue 3 years ago • 3 comments

Hi, I have a question about mux option. If I consider the value of mux as 100, does it mean that I can only have 100 connections or does it mean that if I reach 100 connections, a new physical connection will be created for the 101th-200th connection?

MasoudSaraf avatar Jan 08 '23 10:01 MasoudSaraf

https://www.v2ray.com/en/configuration/mux.html

AaronChen0 avatar Jan 08 '23 10:01 AaronChen0

@AaronChen0

https://www.v2ray.com/en/configuration/mux.html Max number of multiplexed connections that one physical connection can handle at a time

I read this but there is no explanation about whether new connections are made or not? Just saying, this number specifies the capacity of a physical connection.

However, now on my server, I have set the mux value to 80, but the number of connections created is 170, so I think that a new physical connection will be created when it reaches the maximum. Please let me know if it is true.

Thank you.

MasoudSaraf avatar Jan 08 '23 11:01 MasoudSaraf

@AaronChen0

https://www.v2ray.com/en/configuration/mux.html Max number of multiplexed connections that one physical connection can handle at a time

I read this but there is no explanation about whether new connections are made or not? Just saying, this number specifies the capacity of a physical connection.

However, now on my server, I have set the mux value to 80, but the number of connections created is 170, so I think that a new physical connection will be created when it reaches the maximum. Please let me know if it is true.

Thank you.

Hi Mas.,

As far as I know, the mux value refers to the capacity of a physical connection. So when the capacity is reached, another physical connection is created to serve the extra virtual connections. Basically, what you said is right.

Zeyu-ZEYU avatar Jul 31 '23 03:07 Zeyu-ZEYU