[
https://issues.apache.org/jira/browse/ZOOKEEPER-1859?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16541452#comment-16541452
]
Andor Molnar commented on ZOOKEEPER-1859:
-----------------------------------------
Hi [[email protected]]
Would you mind creating a pull request on Github to address this issue?
> pwriter should be closed in NIOServerCnxn#checkFourLetterWord()
> ---------------------------------------------------------------
>
> Key: ZOOKEEPER-1859
> URL: https://issues.apache.org/jira/browse/ZOOKEEPER-1859
> Project: ZooKeeper
> Issue Type: Bug
> Reporter: Ted Yu
> Priority: Minor
>
> {code}
> final PrintWriter pwriter = new PrintWriter(
> new BufferedWriter(new SendBufferWriter()));
> ...
> } else if (len == telnetCloseCmd) {
> cleanupWriterSocket(null);
> return true;
> }
> {code}
> pwriter should be closed in case of telnetCloseCmd
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)