[
https://issues.apache.org/jira/browse/GEODE-5270?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
ASF GitHub Bot updated GEODE-5270:
----------------------------------
Labels: pull-request-available (was: )
> 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
> Priority: Major
> Labels: pull-request-available
>
> 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)