[
https://issues.apache.org/jira/browse/ZOOKEEPER-2072?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14298112#comment-14298112
]
Rakesh R commented on ZOOKEEPER-2072:
-------------------------------------
Thanks [~hdeng] for the fix
Committed to trunk : http://svn.apache.org/viewvc?view=revision&revision=1655910
Committed to br3.5 : http://svn.apache.org/viewvc?view=revision&revision=1655911
> 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
> Fix For: 3.5.1, 4.0.0
>
> Attachments: ZOOKEEPER-2072.patch, 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)