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

关于增加h2mux和mptcp #245

Open
moranno opened this issue Oct 20, 2023 · 2 comments
Open

关于增加h2mux和mptcp #245

moranno opened this issue Oct 20, 2023 · 2 comments
Labels
enhancement New feature or request

Comments

@moranno
Copy link

moranno commented Oct 20, 2023

在singbox那边的mux实现中,smux一直有各种性能问题。但h2mux的性能就很好。
能否在ehco这边也加入h2mux的实现;进一步提升mux的性能。

另外,在go 1.21中,增加了mptcp的支持,也请求增加支持:
XTLS/Xray-core#2520

工作原理说明:

  1. MPTCP在发送端和接收端建立MPTCP连接,协商使用MPTCP。
  2. MPTCP在发送端和接收端分别建立多个TCP子连接(子流)。
  3. 发送端可以将数据分片发送到不同的TCP子流。
  4. 接收端会将从不同子流接收的数据汇聚合并,交付给应用层。
  5. 子流之间可以传输不同的数据分片,以达到均衡负载和提高网络利用率的目的。
  6. 如果某个子连接断开,MPTCP可以快速切换traffic到其他子连接,提高可靠性。
@moranno moranno changed the title 关于增加h2mux 关于增加h2mux和mptcp Oct 20, 2023
@Ehco1996 Ehco1996 added the enhancement New feature or request label Oct 22, 2023
@Ehco1996
Copy link
Owner

欢迎 pr

Ehco1996 added a commit that referenced this issue Dec 19, 2023
@Ehco1996
Copy link
Owner

Ehco1996 commented Dec 19, 2023

我在 #252 这个 pr 里实验了一下, 貌似开启失败了, 可能是我本地操作系统的问题

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

No branches or pull requests

2 participants