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

Set the incoming socket buffer sizes properly on the listen socket. #1381

Merged

Conversation

notsure2
Copy link
Contributor

Incoming buffer sizes are read by config but not actually set on the socket.
tokio TcpSocket gained the ability finally to set this.
This PR sets the incoming socket buffer snd/rcv buffer on the TcpSocket in a cross platform manner.

@notsure2 notsure2 force-pushed the fix-incoming-socket-buffer-size-handling branch from 23c4336 to 9afd670 Compare December 14, 2023 15:08
@notsure2
Copy link
Contributor Author

@zonyitoo there you go.

@zonyitoo zonyitoo merged commit 4d0afea into shadowsocks:master Dec 14, 2023
6 checks passed
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.

2 participants