Skip to content

[Feature] 请求为Hysteria2新增接收窗口大小选项 #1796

Closed
@NCPSNetworks

Description

@NCPSNetworks

验证步骤

  • 我已经阅读了 文档,确认了该功能没有实现
  • 我已在 Issue Tracker 中寻找过我要提出的功能请求,并且没有找到
  • 我是中文用户,而非其他语言用户

描述

在Hysteria2的官方实现中,我们可以为QUIC设置参数
例如
quic:
initStreamReceiveWindow: 8388608
maxStreamReceiveWindow: 8388608
initConnReceiveWindow: 20971520
maxConnReceiveWindow: 20971520
maxIdleTimeout: 30s
maxIncomingStreams: 1024
disablePathMTUDiscovery: false
但在Clash中不能
由于Hysteria2的多路复用特性,在当前的Clash版本下中美最高只能200Mbps(无论是speedtest多线程还是单线程),这就导致在跑下载的时候非常难受,就算你上了多线程下载器最高也会因为缓冲区大小锁死在200Mbps左右(即便将down设置为1024mbps也无效),而如果我用官方实现上调缓冲区则可以单线程500-700Mbps,这在任何情况下都足够
因此请求添加上面的所有可调参数提供更高的自由度
主要请求对initStreamReceiveWindow,maxStreamReceiveWindow,initConnReceiveWindow,maxConnReceiveWindow,maxIdleTimeout的支持,剩下的支持也行,感谢🙏

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions