forked from MarkusBernhardt/proxy-vole
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix SOCKS proxy settings not being returned (closes MarkusBernhardt#10)
Although SOCKS proxy settings are detected correctly, the ProtocolDispatchSelector tries to lookup a selector using the protocol as the key, which doesn't work for SOCKS because "socks://" isn't part of the URL. The fix is to specify it as a fallback instead, so that it is automatically used in the absence of a more protocol specific (e.g. http) setting.
- Loading branch information
Showing
1 changed file
with
25 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters