IoReceiver is not closing the socket if a SocketTimeoutException thrown
-----------------------------------------------------------------------

                 Key: QPID-1853
                 URL: https://issues.apache.org/jira/browse/QPID-1853
             Project: Qpid
          Issue Type: Bug
          Components: Java Client
    Affects Versions: M4
            Reporter: Rajith Attapattu
            Assignee: Rajith Attapattu
            Priority: Critical
             Fix For: 0.6


If a SocketTimeoutException is thrown then the IoReceiver does not close the 
socket connection.
For that matter if the while loop in the run method of the IoReceiver does not 
exit normally due to an exception (that does not result in the socket being 
closed) then the socket connection remains open.

This causes tcp connections to remain open. Eventually due to failover 
triggered by heartbeats not sent (which results in SocketTimeoutException) the 
number of connections keeps growing.




-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


---------------------------------------------------------------------
Apache Qpid - AMQP Messaging Implementation
Project:      http://qpid.apache.org
Use/Interact: mailto:dev-subscr...@qpid.apache.org

Reply via email to