Skip to content

Handle timeout correctly on Socks5 Proxy #1342

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

Merged
merged 4 commits into from
Apr 27, 2024

Conversation

BoronBGP
Copy link
Contributor

@BoronBGP BoronBGP commented Mar 4, 2024

Currently when using the Socks5 proxy there are issues with timeouts when a socks5 proxy server takes a long time to respond to a connection request (e.g. when a host is unreachable). This PR adds a timeout to all socket read calls as it standard with the Socks4Connector and a test for this.

@WojciechNagorski
Copy link
Collaborator

Looks great! I need to test this.

@BoronBGP BoronBGP requested a review from Rob-Hague as a code owner April 27, 2024 17:00
Copy link
Collaborator

@Rob-Hague Rob-Hague left a comment

Choose a reason for hiding this comment

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

Thanks

@Rob-Hague Rob-Hague merged commit c8b5273 into sshnet:develop Apr 27, 2024
1 check 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.

3 participants