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

detach with closed=false (or unspecified) not handled

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • proton-0.6
    • None
    • proton-c
    • None

    Description

      If an application using proton-c receives a detach frame where the closed field is not set to true, then the state of the link doesn't change and the application is essentially unaware that anything has been received (and consequently can't respond).

      From transport.c (line 882):

        if (closed)
        {
          PN_SET_REMOTE(link->endpoint.state, PN_REMOTE_CLOSED);
        } else {
          // TODO: implement
        }
      

      Attachments

        Issue Links

          Activity

            People

              dnwe Dominic Evans
              gsim Gordon Sim
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: