Skip to content

Commit 48b67af

Browse files
author
Stephane Landelle
committed
Minor comment
1 parent fd5f02c commit 48b67af

File tree

1 file changed

+3
-0
lines changed
  • providers/netty4/src/main/java/org/asynchttpclient/providers/netty4

1 file changed

+3
-0
lines changed

providers/netty4/src/main/java/org/asynchttpclient/providers/netty4/Channels.java

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -257,6 +257,7 @@ protected void initChannel(Channel ch) throws Exception {
257257
try {
258258
pipeline.addLast(SSL_HANDLER, new SslHandler(createSSLEngine()));
259259
} catch (Throwable ex) {
260+
LOGGER.error("Channel {} could not add SslHandler {}", ch, ex);
260261
abort(future, ex);
261262
}
262263

@@ -283,6 +284,7 @@ protected void initChannel(Channel ch) throws Exception {
283284
try {
284285
pipeline.addLast(SSL_HANDLER, new SslHandler(createSSLEngine()));
285286
} catch (Throwable ex) {
287+
LOGGER.error("Channel {} could not add SslHandler {}", ch, ex);
286288
abort(future, ex);
287289
}
288290

@@ -305,6 +307,7 @@ private SSLEngine createSSLEngine() throws IOException, GeneralSecurityException
305307
return sslEngine;
306308
}
307309

310+
// FIXME what for?
308311
public Channel verifyChannelPipeline(Channel channel, String scheme) throws IOException, GeneralSecurityException {
309312

310313
if (channel.pipeline().get(SSL_HANDLER) != null && HTTP.equalsIgnoreCase(scheme)) {

0 commit comments

Comments
 (0)