Merge pull request #284 from JefferyWong/develop

修改设置代理的Bug。
This commit is contained in:
Daniel Qian 2016-03-14 09:14:26 +08:00
commit ce554bfeb4

View File

@ -33,7 +33,7 @@ public class JoddGetRequestExecutor implements RequestExecutor<String, String> {
if (httpProxy != null) {
ProxyInfo proxyInfoObj = new ProxyInfo(
ProxyInfo.ProxyType.HTTP,
httpProxy.getAddress().getHostAddress(),
httpProxy.getHostName(),
httpProxy.getPort(), "", "");
provider.useProxy(proxyInfoObj);
}