opened
Dreamacro
username_0
# Problem

I used `username_1/go-shadowsocks2` as an ss-client in my project and I wrapper a `net.Conn` after `StreamConn` without `WriteTo` and `ReadFrom`. 

Then I use `io.Copy` with two TCP connection. In AEAD cipher, I found out that the connection closes when to upload some images. The `Writer` is not written correctly when writing a big buffer.

# Question

When I discovered this bug, I assumed that `shadowsocks/go-shadowsocks2` had the same bug. But when I went to check, I found a big gap between the two implementations. So the two repositories are completely forked?
Fix AEAD stream writer to write a big chunk buffer
issue
created
riobard
username_1
Good catch! Thanks for the PR! Could you please send the PR to the stable repo at shadowsocks/go-shadowsocks2 as well?

This repo and the one at shadowsocks/go-shadowsocks2 have diverged since this repo is experimental for my personal use cases, and the stable repo needs to be, well, stable for the public. Some features are not suitable and/or mature enough to be upstreamed to the stable repo. If you want stability and better support, please use that one.
comment
created
Dreamacro
username_0
`shadowsocks/go-shadowsocks2` doesn't have that problem. There is a big difference between the two repositories.
comment
created
riobard
username_1
Ah, right! There was a refactor that changed the exposed API of this repo…
comment