mirror of
https://github.com/e1732a364fed/v2ray_simple.git
synced 2025-12-24 13:27:56 +08:00
令vmess支持smux
是通过我们自定义一个新的Cmd来实现的。也就是说,这个smux的支持与mux.cool不是一回事,不冲突。 我们依然不支持mux.cool。现在,如果你两端都是vs,客户端开启mux后,vs服务端会识别出该客户端使用smux,并进行多路复用. 修订代码,示例
This commit is contained in:
@@ -8,9 +8,11 @@ fallback = ":80"
|
||||
cert = "cert.pem"
|
||||
key = "cert.key"
|
||||
advancedLayer = "ws"
|
||||
path = "/ohmygod_verysimple_is_very_simple"
|
||||
path = "/ohmygod_verysimple_is_very_simple" # 这个path必须要给出,就算你path是默认的 "/", 也要写在这里。
|
||||
# early = true
|
||||
|
||||
# 关于ws+ header的配置,请参考 httpheader.client.toml 和 httpheader.server.toml 的注释
|
||||
|
||||
[[dial]]
|
||||
protocol = "direct"
|
||||
|
||||
|
||||
Reference in New Issue
Block a user