Uploaded image for project: 'Qpid'
  1. Qpid
  2. QPID-5389

ConnectionHandler may stop writting pending frames if close is called right after the connection is started

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • None
    • 0.26, 0.27
    • JMS AMQP 0-x
    • None

    Description

      ConnectionEndpoint._closedForOutput is set to true when close is called. Right now HeaderBytesSource.closed() returns false but _buffer has been completely consumed, which results in a deadloop in writing this 0-length buffer. Regardless of this value, the connection handler should write out all pending frames in the queue.

      Attachments

        1. QPID-5389.patch
          0.8 kB
          Xin Chen

        Activity

          People

            rgodfrey Robert Godfrey
            xinchen Xin Chen
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: