nabarun created GEODE-5270:
------------------------------

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


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)

Reply via email to