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

Messenger - pn_messenger_recv( -1 ) does not flow control senders

    XMLWordPrintableJSON

Details

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

    Description

      When using pn_messenger_recv( -1 ), remote senders are not back-pressured, and the number of messages received can grow without bounds. It appears that messenger is unconditionally granting credit as messages arrive.

      Messenger should instead only replenish credit when received messages are actually consumed by the application (maybe after they are settled?).

      Attachments

        1. test-recv.py
          1 kB
          Ken Giusti

        Activity

          People

            kgiusti Ken Giusti
            kgiusti Ken Giusti
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: