Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
草,后面的两个commit怎么也被自动合并进来了😂算了 那就一块吧
1,支持 Xray-core 的 H2/gRPC 健康检查功能,详见此处
2,新增选项,用于调整 initial_windows_size 。这个参数可以帮助解决gRPC在通过CloudFlare时出现的断流问题,具体的说明见文档。对应 Xray-core 的commit在 这里
3,新增选框 Bloom Filter,以支持 Xray-core v1.5.1 中的 Shadowsocks 安全增强功能,可能对防范重放攻击有所帮助。实际测试下,这个功能在服务端/客户端单边启用不会导致 '明显的' 兼容性问题,所以我将它默认设置为开;更多说明请见Xray的releases页面
4,这个算是我夹带的私货了 XD 。我昨天在尝试部署基于明文gRPC的代理服务(也就是h2c协议,走的是80端口)。同样的设置,其他设备都能正常使用,唯独SSR+插件用不了。阅读了 gen_config.lua 之后我才发现,gRPC 和 TLS 被绑定在了一起,后者被自动启用,导致了连接失败。我认为去除这一句判断对普通用户的影响不大,保留它反而是替用户做决定,影响到了某些正常的功能,所以就顺便去掉了 T^T