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 July 7, 2020 01:05
Copy link

@fortuna fortuna left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks for the quick fix!

I've suggested some minor tweaks.

shadowsocks/stream.go Show resolved Hide resolved
shadowsocks/stream.go Show resolved Hide resolved
shadowsocks/stream.go Show resolved Hide resolved
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

Successfully merging this pull request may close these issues.

3 participants