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

Coalesce the salt and the first message #69

Merged
merged 2 commits into from Jul 7, 2020
Merged

Coalesce the salt and the first message #69

merged 2 commits into from Jul 7, 2020

Conversation

@bemasc
Copy link

@bemasc bemasc commented Jul 7, 2020

This change saves one packet in each direction by coalescing the
writes for the salt and the first message.

This change saves one packet in each direction by coalescing the
writes for the salt and the first message.
@bemasc bemasc requested review from fortuna and alalamav Jul 7, 2020
Copy link

@fortuna fortuna left a comment

Thanks for the quick fix!

I've suggested some minor tweaks.

Loading

shadowsocks/stream.go Show resolved Hide resolved
Loading
shadowsocks/stream.go Show resolved Hide resolved
Loading
fortuna
fortuna approved these changes Jul 7, 2020
shadowsocks/stream.go Show resolved Hide resolved
Loading
@bemasc bemasc merged commit 196a0a1 into master Jul 7, 2020
5 checks passed
Loading
@bemasc bemasc deleted the bemasc-salt branch Jul 7, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Linked issues

Successfully merging this pull request may close these issues.

None yet

3 participants