Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

more info about -mux option #301

Open
MasoudSaraf opened this issue Jan 8, 2023 · 3 comments
Open

more info about -mux option #301

MasoudSaraf opened this issue Jan 8, 2023 · 3 comments

Comments

@MasoudSaraf
Copy link

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?

@AaronChen0
Copy link
Contributor

@MasoudSaraf
Copy link
Author

MasoudSaraf commented Jan 8, 2023

@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.

@Zeyu-ZEYU
Copy link

Zeyu-ZEYU commented Jul 31, 2023

@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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants