Uploaded image for project: 'Qpid Proton'
  1. Qpid Proton
  2. PROTON-1023

Incorrect handling of failed attach for BlockingConnection

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • proton-0.10
    • proton-0.11.0
    • python-binding
    • None

    Description

      Where the attach response and subsequent detach are separated a bit, the BlockingConnection attempts to wait a little for the detach to get the actual error condition. However the code for this uses the wrong method name, meaning the exception thrown would be incorrect ('AttributeError: _waitForClose not in _attrs', rather than a LinkDetached as expected). In addition, if the detach is not received a Timeout is raised rather than a LinkException with the local link being closed.

      Attachments

        Activity

          People

            gsim Gordon Sim
            gsim Gordon Sim
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: