markewiseman / proxy-vole

Automatically exported from code.google.com/p/proxy-vole
0 stars 0 forks source link

SOCKS implementation is wrong #60

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
In JavaProxySearchStrategy.java, method JavaProxySearchStrategy.java, 
ps.setSelector should be called with the argument of "socket", not "socks".

ProtocolDispatchSelector.select() will not find entries matching "socks" 
because there is no scheme with that name. uri.getScheme() will return "socket" 
for socket connections.

See 
http://docs.oracle.com/javase/7/docs/api/java/net/ProxySelector.html#select%28ja
va.net.URI%29

Original issue reported on code.google.com by rscsr...@gmail.com on 8 Jun 2015 at 2:19