You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@qpid.apache.org by tr...@apache.org on 2017/06/01 20:15:58 UTC

[5/7] qpid-dispatch git commit: DISPATCH-781 - Bugfix: removed spurious issuance of credit

DISPATCH-781 - Bugfix: removed spurious issuance of credit


Project: http://git-wip-us.apache.org/repos/asf/qpid-dispatch/repo
Commit: http://git-wip-us.apache.org/repos/asf/qpid-dispatch/commit/98a4c360
Tree: http://git-wip-us.apache.org/repos/asf/qpid-dispatch/tree/98a4c360
Diff: http://git-wip-us.apache.org/repos/asf/qpid-dispatch/diff/98a4c360

Branch: refs/heads/tross-dispatch-781-1
Commit: 98a4c360f4c144b6f05452d4e5a7b826adb9a791
Parents: 8c3f83c
Author: Ted Ross <tr...@redhat.com>
Authored: Thu Jun 1 15:44:58 2017 -0400
Committer: Ted Ross <tr...@redhat.com>
Committed: Thu Jun 1 15:44:58 2017 -0400

----------------------------------------------------------------------
 src/router_core/connections.c | 6 ------
 1 file changed, 6 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/qpid-dispatch/blob/98a4c360/src/router_core/connections.c
----------------------------------------------------------------------
diff --git a/src/router_core/connections.c b/src/router_core/connections.c
index c690e8f..7276d8e 100644
--- a/src/router_core/connections.c
+++ b/src/router_core/connections.c
@@ -1360,12 +1360,6 @@ static void qdr_link_inbound_first_attach_CT(qdr_core_t *core, qdr_action_t *act
                     // Do the side effects of this link change.
                     //
                     qdr_link_change_CT(core, addr, link);
-
-                    //
-                    // Issue the initial credit only if there are destinations for the address.
-                    //
-                    if (DEQ_SIZE(addr->subscriptions) || DEQ_SIZE(addr->rlinks) || qd_bitmask_cardinality(addr->rnodes))
-                        qdr_link_issue_credit_CT(core, link, link->capacity, false);
                 }
             }
             break;


---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@qpid.apache.org
For additional commands, e-mail: commits-help@qpid.apache.org