You are viewing a plain text version of this content. The canonical link for it is here.
Posted to proton@qpid.apache.org by "Ken Giusti (JIRA)" <ji...@apache.org> on 2013/07/11 22:37:48 UTC

[jira] [Created] (PROTON-350) Messenger - pn_messenger_recv( -1 ) does not flow control senders

Ken Giusti created PROTON-350:
---------------------------------

             Summary: Messenger - pn_messenger_recv( -1 ) does not flow control senders
                 Key: PROTON-350
                 URL: https://issues.apache.org/jira/browse/PROTON-350
             Project: Qpid Proton
          Issue Type: Bug
          Components: proton-c
    Affects Versions: 0.4
            Reporter: Ken Giusti
             Fix For: 0.5


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?).

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira