Xin Chen created QPIDJMS-30:
-------------------------------

             Summary: Connection is stuck in close sent state on decoding errors
                 Key: QPIDJMS-30
                 URL: https://issues.apache.org/jira/browse/QPIDJMS-30
             Project: Qpid JMS
          Issue Type: Bug
            Reporter: Xin Chen


In FrameHandler.java, the parse() method sets the state to State.ERROR on 
certain error conditions. Then it sends a Close frame by calling 
_connection.handleError().

However, since _state is set to ERROR, all subsequent frames are ignored (by 
the state check in while loop). The Close frame from the peer will not be 
processed, so the connection is stuck in this state and there is no way for the 
application to recover.

This can be easily reproduced by sending empty frames from the peer (without 
applying the patch in issue #29).



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to