This is an automated email from the ASF dual-hosted git repository. chug pushed a commit to branch dev-protocol-adaptors-2 in repository https://gitbox.apache.org/repos/asf/qpid-dispatch.git
commit c56a1fba5165589c11a7779580a251c45e20828a Author: Gordon Sim <g...@redhat.com> AuthorDate: Wed Oct 7 12:09:02 2020 +0100 DISPATCH-1654: allow content to be seen when available --- src/message.c | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/src/message.c b/src/message.c index 23381db..a3a8152 100644 --- a/src/message.c +++ b/src/message.c @@ -1554,6 +1554,13 @@ qd_message_t *qd_message_receive(pn_delivery_t *delivery) // the entire message. We'll be back later to finish it up. // Return the message so that the caller can start sending out whatever we have received so far // + // push what we do have for testing/processing + LOCK(content->lock); + qd_buffer_set_fanout(content->pending, content->fanout); + DEQ_INSERT_TAIL(content->buffers, content->pending); + content->pending = 0; + UNLOCK(content->lock); + content->pending = qd_buffer(); break; } } --------------------------------------------------------------------- To unsubscribe, e-mail: commits-unsubscr...@qpid.apache.org For additional commands, e-mail: commits-h...@qpid.apache.org