We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 9725d77 commit d850e4eCopy full SHA for d850e4e
src/main/java/com/ning/http/util/ProxyUtils.java
@@ -205,6 +205,7 @@ public ProxyServer select(URI uri) {
205
case HTTP:
206
if (!(proxy.address() instanceof InetSocketAddress)) {
207
log.warn("Don't know how to connect to address " + proxy.address());
208
+ return null;
209
} else {
210
InetSocketAddress address = (InetSocketAddress) proxy.address();
211
return new ProxyServer(Protocol.HTTP, address.getHostName(), address.getPort());
0 commit comments