Hongchao Deng created ZOOKEEPER-2072:
----------------------------------------

             Summary: 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


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)

Reply via email to