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

关于AES-256-CFB解密问题 #128

Closed
whisper-bye opened this issue Apr 30, 2016 · 2 comments
Closed

关于AES-256-CFB解密问题 #128

whisper-bye opened this issue Apr 30, 2016 · 2 comments

Comments

@whisper-bye
Copy link

@v2ray
我在开发一个v2ray的客户端,基本已经完成,但是在解密AES-256-CFB流量的时候时常会出现乱码的问题,有的部分正确有的部分错误,在服务器返回大量数据的时候会分多次将数据返回,比如使用http协议,如何知道应该解密多少长度呢?如果解密一个不完整的块就会出现乱码的情况。

请赐教!

@v2ray
Copy link
Collaborator

v2ray commented May 1, 2016

对于 HTTP 代理,现在暂不支持连接复用,没办法用一个 TCP 连接发送多个 HTTP 请求。也就是说,要解密服务器的响应,从头解到尾就可以了,没有分段的。

@whisper-bye
Copy link
Author

谢谢,我已经解决了

rosebe pushed a commit to rosebe/v2ray-core that referenced this issue Aug 27, 2020
Add PROXY protocol support to WS inbound
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant