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 1a8b84a commit 6f9a97eCopy full SHA for 6f9a97e
src/main/java/com/ning/http/client/providers/netty/request/NettyConnectListener.java
@@ -111,8 +111,7 @@ public void operationComplete(ChannelFuture handshakeFuture) throws Exception {
111
writeRequest(channel, poolKey);
112
} else {
113
abortChannelPreemption(poolKey);
114
- ConnectException exception = new ConnectException("HostnameVerifier exception");
115
- future.abort(exception);
+ future.abort(new ConnectException("HostnameVerifier exception"));
116
}
117
118
0 commit comments