jihoonson commented on a change in pull request #6090: Fix missing exception 
handling as part of 
`io.druid.java.util.http.client.netty.HttpClientPipelineFactory`
URL: https://github.com/apache/incubator-druid/pull/6090#discussion_r208428096
 
 

 ##########
 File path: 
java-util/src/main/java/io/druid/java/util/http/client/pool/ChannelResourceFactory.java
 ##########
 @@ -109,6 +112,28 @@ public ChannelFuture generate(final String hostname)
 
       final ChannelPipeline pipeline = 
connectFuture.getChannel().getPipeline();
       pipeline.addFirst("ssl", sslHandler);
+      pipeline.addLast("connectionErrorHandler", new 
SimpleChannelUpstreamHandler()
 
 Review comment:
   `addLast` adds this handler at the last of the pipeline, but it should be 
right after `sslHandler` which is added at the first of the pipeline.

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


With regards,
Apache Git Services

---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscr...@druid.apache.org
For additional commands, e-mail: commits-h...@druid.apache.org

Reply via email to