You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@qpid.apache.org by ganeshmurthy <gi...@git.apache.org> on 2017/03/21 17:22:19 UTC
[GitHub] qpid-dispatch pull request #149: DISPATCH-357 - Added terminus_addr field on...
GitHub user ganeshmurthy opened a pull request:
https://github.com/apache/qpid-dispatch/pull/149
DISPATCH-357 - Added terminus_addr field on link to display the termi\u2026
\u2026nus addr of a link route
You can merge this pull request into a Git repository by running:
$ git pull https://github.com/ganeshmurthy/qpid-dispatch DISPATCH-357-1
Alternatively you can review and apply these changes as the patch at:
https://github.com/apache/qpid-dispatch/pull/149.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 #149
----
commit 5a0abfb6b8ef46fc6077824ce1605c97246e712a
Author: Ganesh Murthy <gm...@redhat.com>
Date: 2017-03-21T17:16:59Z
DISPATCH-357 - Added terminus_addr field on link to display the terminus addr of a link route
----
---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at infrastructure@apache.org or file a JIRA ticket
with INFRA.
---
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@qpid.apache.org
For additional commands, e-mail: dev-help@qpid.apache.org
[GitHub] qpid-dispatch pull request #149: DISPATCH-357 - Added terminus_addr field on...
Posted by ganeshmurthy <gi...@git.apache.org>.
Github user ganeshmurthy closed the pull request at:
https://github.com/apache/qpid-dispatch/pull/149
---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at infrastructure@apache.org or file a JIRA ticket
with INFRA.
---
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@qpid.apache.org
For additional commands, e-mail: dev-help@qpid.apache.org
[GitHub] qpid-dispatch pull request #149: DISPATCH-357 - Added terminus_addr field on...
Posted by ted-ross <gi...@git.apache.org>.
Github user ted-ross commented on a diff in the pull request:
https://github.com/apache/qpid-dispatch/pull/149#discussion_r107224807
--- Diff: src/router_core/connections.c ---
@@ -1297,6 +1320,7 @@ static void qdr_link_inbound_first_attach_CT(qdr_core_t *core, qdr_action_t *act
//
// This is a link-routed destination, forward the attach to the next hop
//
+ set_terminus_address(link, dir);
--- End diff --
You are calling a non-CT function from within a CT function. The non-CT function accesses pn_link_t structures that are unsafe to access from a thread that is not the IO thread that owns the connection on which the link flows. This is very likely to cause memory corruption and crashes.
---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at infrastructure@apache.org or file a JIRA ticket
with INFRA.
---
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@qpid.apache.org
For additional commands, e-mail: dev-help@qpid.apache.org