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

Ordering issue prevents credit drain from working properly

    XMLWordPrintableJSON

Details

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

    Description

      If the sending link calls pn_link_drained() to indicate that it has send all pending data, and afterwards it receives a Flow frame with drain=true from the peer, then the drain never completes.

      The ordering is the problem: if the flow frame w/drain=true is received BEFORE the sender calls pn_link_drained(), then it works.

      Attachments

        1. drain-hack.patch
          3 kB
          Ken Giusti
        2. drain-error.patch
          2 kB
          Ken Giusti

        Issue Links

          Activity

            People

              rhs Rafael H. Schloming
              kgiusti Ken Giusti
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: