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

Ordering issue prevents credit drain from working properly

VotersWatch issueWatchersLinkCloneUpdate Comment AuthorReplace String in CommentUpdate Comment VisibilityDelete Comments
    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-error.patch
          2 kB
          Ken Giusti
        2. drain-hack.patch
          3 kB
          Ken Giusti

        Issue Links

        Activity

          This comment will be Viewable by All Users Viewable by All Users
          Cancel

          People

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

            Dates

              Created:
              Updated:
              Resolved:

              Slack

                Issue deployment