summaryrefslogtreecommitdiff
path: root/qpid/extras/dispatch/src
diff options
context:
space:
mode:
authorTed Ross <tross@apache.org>2013-08-08 14:15:47 +0000
committerTed Ross <tross@apache.org>2013-08-08 14:15:47 +0000
commite33c4e5c33768233282b69c9cb14dd515d191bb7 (patch)
tree2b7d5643a2e2a7e74c7e7e63a91a8c0298a583bc /qpid/extras/dispatch/src
parentee187c3e89ddaea3ced38b6d9928cb29fac5b268 (diff)
downloadqpid-python-e33c4e5c33768233282b69c9cb14dd515d191bb7.tar.gz
QPID-5045 - Added tests for message REJECT and for the three-ack delivery pattern.
git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1511797 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'qpid/extras/dispatch/src')
-rw-r--r--qpid/extras/dispatch/src/container.c6
1 files changed, 4 insertions, 2 deletions
diff --git a/qpid/extras/dispatch/src/container.c b/qpid/extras/dispatch/src/container.c
index d4766f0432..38262cd094 100644
--- a/qpid/extras/dispatch/src/container.c
+++ b/qpid/extras/dispatch/src/container.c
@@ -325,8 +325,10 @@ static int process_handler(dx_container_t *container, void* unused, pn_connectio
}
//
- // Step 2.5: Traverse all of the links on the connection looking for
- // links. Call the attached node's writable handler for such links.
+ // Step 2.5: Call the attached node's writable handler for all active links
+ // on the connection. Note that in Dispatch, links are considered
+ // bidirectional. Incoming and outgoing only pertains to deliveries and
+ // deliveries are a subset of the traffic that flows both directions on links.
//
pn_link = pn_link_head(conn, PN_LOCAL_ACTIVE | PN_REMOTE_ACTIVE);
while (pn_link) {