kgiusti commented on a change in pull request #1324:
URL: https://github.com/apache/qpid-dispatch/pull/1324#discussion_r676874357



##########
File path: src/adaptors/http2/http2_adaptor.c
##########
@@ -1330,14 +1314,12 @@ ssize_t read_data_callback(nghttp2_session *session,
                 if (remaining_payload_length <= QD_HTTP2_BUFFER_SIZE) {
                        if (length < remaining_payload_length) {
                                bytes_to_send = length;
-                               set_buffers_to_send(stream_data, bytes_to_send);
                                stream_data->full_payload_handled = false;
                        }
                        else {
                                bytes_to_send = remaining_payload_length;
-                        set_buffers_to_send(stream_data, bytes_to_send);
                                stream_data->full_payload_handled = true;
-                               qd_log(http2_adaptor->protocol_log_source, 
QD_LOG_TRACE, "[C%"PRIu64"][S%"PRId32"] read_data_callback 
remaining_payload_length (%zu) <= QD_HTTP2_BUFFER_SIZE(16384), 
bytes_to_send=%zu, stream_data->qd_buffers_to_send=%zu", conn->conn_id, 
stream_data->stream_id, remaining_payload_length, bytes_to_send, 
stream_data->qd_buffers_to_send);
+                               qd_log(http2_adaptor->protocol_log_source, 
QD_LOG_TRACE, "[C%"PRIu64"][S%"PRId32"] read_data_callback 
remaining_payload_length (%zu) <= QD_HTTP2_BUFFER_SIZE(16384), 
bytes_to_send=%zu", conn->conn_id, stream_data->stream_id, 
remaining_payload_length, bytes_to_send);

Review comment:
       should "remaining_payload_length" covert using %i instead?




-- 
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.

To unsubscribe, e-mail: dev-unsubscr...@qpid.apache.org

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



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

Reply via email to