-
Notifications
You must be signed in to change notification settings - Fork 1.4k
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
TCP relay block when first packet includes payload #37
Comments
Sorry I didn't understand the problem. What happened here? And what's the step to reproduce it? |
go-shadowsocks2 client use socks5 proxy protocol, send address to server at first, |
Are you using go-shadowsocks2 as an HTTP proxy? |
no, i write a shadowsocks client that provides http proxy. |
Sorry I'm confused. Is this issue a bug report? What was wrong here? |
@cute Maybe you'd better read the comments about the io.Copy()
I think they can do same thing |
@riobard local socks5 proxy send data to server:
local http proxy send data to server:
If address and payload is sent together, server can not process the data correctly. |
I think I understand the problem now. Do you have a code snippet to reproduce the bug? |
@riobard what's your email? I want to send you an iOS app promotion code. |
Got the code. What's the step to reproduce the bug? |
Problem identified: this is actually caused by a bug in the implementation of AEAD stream reader. The fix has been committed into my fork here riobard@de996c8 and a new test release is created at https://github.com/riobard/go-shadowsocks2/releases/tag/v0.0.9 |
Fixed by #40 |
when I copy left buffer manually at first, it is woking.
The text was updated successfully, but these errors were encountered: