Skip to content

Commit 1a8b84a

Browse files
author
Stephane Landelle
committed
No need to throw exception hostnameVerifier failure, close AsyncHttpClient#715
1 parent d77406f commit 1a8b84a

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

src/main/java/com/ning/http/client/providers/netty/request/NettyConnectListener.java

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -113,7 +113,6 @@ public void operationComplete(ChannelFuture handshakeFuture) throws Exception {
113113
abortChannelPreemption(poolKey);
114114
ConnectException exception = new ConnectException("HostnameVerifier exception");
115115
future.abort(exception);
116-
throw exception;
117116
}
118117
}
119118
}

0 commit comments

Comments
 (0)