[ 
https://issues.apache.org/jira/browse/DISPATCH-1780?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17226827#comment-17226827
 ] 

ASF GitHub Bot commented on DISPATCH-1780:
------------------------------------------

grs commented on a change in pull request #909:
URL: https://github.com/apache/qpid-dispatch/pull/909#discussion_r518203635



##########
File path: src/adaptors/http1/http1_client.c
##########
@@ -541,7 +546,12 @@ static void _client_tx_buffers_cb(h1_codec_request_state_t 
*hrs, qd_buffer_list_
     // responses are decoded one at a time - the current response it at the
     // tail of the response list
 
-    _client_response_msg_t *rmsg = DEQ_TAIL(hreq->responses);
+    _client_response_msg_t *rmsg;
+    if (hconn->cfg.aggregation == QD_AGGREGATION_NONE) {
+        rmsg = DEQ_TAIL(hreq->responses);
+    } else {
+        rmsg = DEQ_HEAD(hreq->responses);

Review comment:
       I'll update the comment to explain, but yes, when aggregating we don't 
send out separate reponses for each response message. Using the head for the 
single aggregated response is arbitrary I suppose but it seemed simplest.




----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


> multicast support for http 1.1 adaptor
> --------------------------------------
>
>                 Key: DISPATCH-1780
>                 URL: https://issues.apache.org/jira/browse/DISPATCH-1780
>             Project: Qpid Dispatch
>          Issue Type: Improvement
>            Reporter: Gordon Sim
>            Assignee: Gordon Sim
>            Priority: Major
>             Fix For: 1.15.0
>
>




--
This message was sent by Atlassian Jira
(v8.3.4#803005)

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscr...@qpid.apache.org
For additional commands, e-mail: dev-h...@qpid.apache.org

Reply via email to