[
https://issues.apache.org/jira/browse/DISPATCH-1378?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16879493#comment-16879493
]
ASF subversion and git services commented on DISPATCH-1378:
-----------------------------------------------------------
Commit 9ec19640722ac3a1a31b5755d1e0e68441f154ab in qpid-dispatch's branch
refs/heads/master from Ken Giusti
[ https://gitbox.apache.org/repos/asf?p=qpid-dispatch.git;h=9ec1964 ]
DISPATCH-1378: lock the links_with_work list when processing flow
This closes #529
> missing lock of connection's links_with_work list
> -------------------------------------------------
>
> Key: DISPATCH-1378
> URL: https://issues.apache.org/jira/browse/DISPATCH-1378
> Project: Qpid Dispatch
> Issue Type: Bug
> Reporter: Ken Giusti
> Assignee: Ken Giusti
> Priority: Major
>
> see qdr_link_flow_CT:
>
> {{ //}}
> {{ // If the link was stalled due to internal backpressure from the
> transport, put it}}
> {{ // on the links-with-work list and activate the connection to resume
> sending.}}
> {{ //}}
> {{ if (link->stalled_outbound) {}}
> {{ link->stalled_outbound = false;}}
> {{ if (DEQ_SIZE(link->undelivered) > 0) {}}
> {{ // Adding this work at priority 0.}}
> {{ ===> qdr_add_link_ref(link->conn->links_with_work, link,
> QDR_LINK_LIST_CLASS_WORK);}}
> {{ activate = true;}}
> {{ }}}
> {{ }}}
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]