[
https://issues.apache.org/jira/browse/ZOOKEEPER-2072?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14192737#comment-14192737
]
Hongchao Deng commented on ZOOKEEPER-2072:
------------------------------------------
Just talked with [~phunt] and he agrees this is necessary.
It doesn't change any current logic on netty server. The channelHandler is
still shared. It however allows adding stateful handlers like SslHandler.
Can someone review and give feedback? Or should I include this change to the
SSL work?
> Netty Server Should Configure Child Channel Pipeline By Specifying
> ChannelPipelineFactory
> -----------------------------------------------------------------------------------------
>
> Key: ZOOKEEPER-2072
> URL: https://issues.apache.org/jira/browse/ZOOKEEPER-2072
> Project: ZooKeeper
> Issue Type: Bug
> Components: server
> Reporter: Hongchao Deng
> Assignee: Hongchao Deng
> Attachments: ZOOKEEPER-2072.patch, test-jenkins.patch
>
>
> Currently, netty server is setting up child channel in this way:
> {code}
> bootstrap.getPipeline().addLast("servercnxnfactory", channelHandler);
> {code}
> According to the [netty
> doc|http://netty.io/3.9/api/org/jboss/netty/bootstrap/ServerBootstrap.html],
> bq. you cannot use this approach if you are going to open more than one
> Channels or run a server that accepts incoming connections to create its
> child channels.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)