[
https://issues.apache.org/jira/browse/GEODE-5270?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16498704#comment-16498704
]
ASF subversion and git services commented on GEODE-5270:
--------------------------------------------------------
Commit 62665a47ab02b3b4f024f6d6e737aa77abee29af in geode's branch
refs/heads/develop from nabarun
[ https://gitbox.apache.org/repos/asf?p=geode.git;h=62665a4 ]
Revert "GEODE-5270: Closing the connection. (#2008)"
This reverts commit 0c4943189145bccdcf1f0e3e8eff7e7797b0d0bc.
> Close the input stream when closing connection.
> -----------------------------------------------
>
> Key: GEODE-5270
> URL: https://issues.apache.org/jira/browse/GEODE-5270
> Project: Geode
> Issue Type: Bug
> Components: wan
> Reporter: nabarun
> Assignee: nabarun
> Priority: Major
> Labels: pull-request-available
> Fix For: 1.8.0
>
> Time Spent: 20m
> Remaining Estimate: 0h
>
> Issue: If the gateway stomper thread is activated while a dispatcher
> activates a ackReadThread, they both may end up reading the on the same
> connection, resulting in reading wrong header and causing out of memory
> issues by allocating wrong memory.
> Fix:
> Close the input streams before closing the connection and also shutdown any
> AckThreadReaders operating on the connection.
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)