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

Start local SOCKS5 proxy #492

Merged
merged 3 commits into from
Oct 19, 2021

Conversation

Flowdalic
Copy link
Member

No description provided.

In 9352225 ("Rework SOCKS5 unit tests so that they can be run in
parallel") the call to getSocks5Proxy() in
Socks5BytestreamManager.getLocalStreamHost() was removed. Since
getSocks5Proxy() does also start the local proxy, if it is not already
running, this caused Smack to no longer automatically start the local
proxy.

This commit re-adds the call to getSocks5Proxy() and fixes SMACK-912.
@abyss638
Copy link

JavaDoc for getLocalStreamHost() is outdated as it never returns null anymore

The method does no longer return null.

Reported-by: Simon Abykov <simon.abykov@gmail.com>
The method getLocalStreamHost() does no longer return 'null', hence
the null check is unnecessary.
@Flowdalic
Copy link
Member Author

JavaDoc for getLocalStreamHost() is outdated as it never returns null anymore

Good point, fixed.

@Flowdalic Flowdalic merged commit dac8b72 into igniterealtime:4.4 Oct 19, 2021
@Flowdalic Flowdalic deleted the start-local-socks5-proxy branch October 19, 2021 12:09
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