You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@qpid.apache.org by ch...@apache.org on 2017/09/15 21:26:45 UTC
qpid-dispatch git commit: DISPATCH-828: Disassociate link from
message to prevent callbacks
Repository: qpid-dispatch
Updated Branches:
refs/heads/master d9f0f0849 -> b0fcd9a54
DISPATCH-828: Disassociate link from message to prevent callbacks
Project: http://git-wip-us.apache.org/repos/asf/qpid-dispatch/repo
Commit: http://git-wip-us.apache.org/repos/asf/qpid-dispatch/commit/b0fcd9a5
Tree: http://git-wip-us.apache.org/repos/asf/qpid-dispatch/tree/b0fcd9a5
Diff: http://git-wip-us.apache.org/repos/asf/qpid-dispatch/diff/b0fcd9a5
Branch: refs/heads/master
Commit: b0fcd9a54a324e62a33e3117de3092139fe655ce
Parents: d9f0f08
Author: Chuck Rolke <cr...@redhat.com>
Authored: Fri Sep 15 17:16:28 2017 -0400
Committer: Chuck Rolke <cr...@redhat.com>
Committed: Fri Sep 15 17:16:28 2017 -0400
----------------------------------------------------------------------
src/message.c | 1 +
1 file changed, 1 insertion(+)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/qpid-dispatch/blob/b0fcd9a5/src/message.c
----------------------------------------------------------------------
diff --git a/src/message.c b/src/message.c
index e7e57ab..8d31c08 100644
--- a/src/message.c
+++ b/src/message.c
@@ -1114,6 +1114,7 @@ qd_message_t *discard_receive(pn_delivery_t *delivery,
} else if (rc == PN_EOS || rc < 0) {
// end of message or error. Call the message complete
msg->content->receive_complete = true;
+ msg->content->input_link = 0;
pn_record_t *record = pn_delivery_attachments(delivery);
pn_record_set(record, PN_DELIVERY_CTX, 0);
---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@qpid.apache.org
For additional commands, e-mail: commits-help@qpid.apache.org