GitHub user ChugR opened a pull request:
https://github.com/apache/qpid-dispatch/pull/196
DISPATCH-807: Message handling requires flow control to limit memory
consumption
You can merge this pull request into a Git repository by running:
$ git pull https://github.com/ChugR/qpid-dispatch DISPATCH-807
Alternatively you can review and apply these changes as the patch at:
https://github.com/apache/qpid-dispatch/pull/196.patch
To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:
This closes #196
----
commit f682283c2d9543ae121ea7aae9b3b4b900dd387d
Author: Chuck Rolke <[email protected]>
Date: 2017-09-14T13:53:55Z
DISPATCH-807: Define limits, state, and accessors for Q2 input holdoff
commit 224e2154ce2c3756bf628d007e3b85806395cd69
Author: Chuck Rolke <[email protected]>
Date: 2017-09-14T14:15:05Z
DISPATCH-807: move q2 holdoff flag from message into content
Random senders free message content buffers. Each sender must be
able to sense the receiver's holdoff state to know when to
schedule a callback. Message content is common to the receiver
and to all the senders.
commit 14e1a13b33a2fecea0c8bc0f93c4c402094e8dc7
Author: Chuck Rolke <[email protected]>
Date: 2017-09-14T14:33:50Z
DISPATCH-807: Remove delivery arg from delivery_handler interface
Container delivery handler has a qd_link arg and from that the
pn_link and the current pn_delivery may be derived.
commit 131dfa49c56cc80a1cd20c3461defafd6b710caf
Author: Chuck Rolke <[email protected]>
Date: 2017-09-14T20:01:32Z
DISPATCH-807: Implement Q2 throttling
* Add container accessor for link->node->context
* qd_message_send signals when enough room for q2 resume is available
* Add message accessor for receiving qd_link
* Promote server connection_wake to public
* Use macros to name LOCK, UNLOCK functions for legibility
* Sense and set q2 holdoff in message_receive
* Sense and clear q2 holdoff in message_send
* Add deferred callback for AMQP_rx_handler
commit 62a7613fbae245c337b204ee86e5b1958afaa987
Author: Chuck Rolke <[email protected]>
Date: 2017-09-14T20:47:33Z
DISPATCH-807: remove asserts for items that disappear regularly
commit 998de77a8abb754f96f4f3d1c941f2562521537f
Author: Chuck Rolke <[email protected]>
Date: 2017-09-14T21:00:09Z
DISPATCH-807: Implement Q3 limits based on send session outgoing bytes
commit 63526470733f54746b93051e4aaae88815c2a20b
Author: Chuck Rolke <[email protected]>
Date: 2017-09-15T14:01:54Z
DISPATCH-807: Adjust sizes of q2 limits
----
---
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]