V2版协议是否会支持多路复用? #61
ayanami-desu
started this conversation in
General
Replies: 3 comments 2 replies
-
v2 会支持多路复用。 技术上可以做到 1 RTT 包含 open session + socks5 handshake,第二个 RTT 开始传输数据。 |
Beta Was this translation helpful? Give feedback.
0 replies
-
现行的实现是因为有什么考虑吗,我观察到其他翻墙协议都是在本地完成socks5握手然后将目标发送给服务器。 |
Beta Was this translation helpful? Give feedback.
1 reply
-
v2 协议已经完整支持多路复用。之后会开放接口在配置文件修改多路复用的行为。使用 v2 协议,socks5 只需要一次 RTT 就可以完成握手。如果复用 TCP 连接,响应速度会有进一步提升。 |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
似乎已有相关代码
目前的TCP实现似乎要经过2rtt的socks握手,这一点我是不太理解的。
Beta Was this translation helpful? Give feedback.
All reactions