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

socks5: wait to close buffer #1702

Merged
merged 6 commits into from
Oct 27, 2022
Merged

Conversation

octol
Copy link
Contributor

@octol octol commented Oct 21, 2022

Description

Part of: #1960
Closes: #1701

This is the fix proposed by @simonwicky in #1701

Checklist:

  • added a changelog entry to CHANGELOG.md

@octol octol marked this pull request as ready for review October 21, 2022 17:01
@octol octol force-pushed the fix/socks5/wait-close-buffer-until-end branch from c4bb581 to 1b9ab82 Compare October 21, 2022 20:07
@octol octol added the bug Something isn't working label Oct 24, 2022
@octol octol self-assigned this Oct 25, 2022
@octol
Copy link
Contributor Author

octol commented Oct 26, 2022

I was playing around with this patch for some casual keybase use and I didn't spot any situations where the new logic closed the connection earlier than the old logic, but I did spot some cases (very few, but indeed happening) where the new logic closes the connection slightly later then before

@octol octol force-pushed the fix/socks5/wait-close-buffer-until-end branch from 6716715 to d1805bb Compare October 27, 2022 10:10
@octol octol merged commit cf65bc1 into develop Oct 27, 2022
@octol octol deleted the fix/socks5/wait-close-buffer-until-end branch October 27, 2022 10:42
@octol octol restored the fix/socks5/wait-close-buffer-until-end branch October 31, 2022 09:56
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
Archived in project
Development

Successfully merging this pull request may close these issues.

[Issue] SOCKS5 proxy can stop before transferring all received data
3 participants