[ https://issues.apache.org/jira/browse/DISPATCH-1349?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16853235#comment-16853235 ]
ASF GitHub Bot commented on DISPATCH-1349: ------------------------------------------ ganeshmurthy commented on issue #514: DISPATCH-1349 qd_buffer_list_clone is wasting dst buffers available capacity URL: https://github.com/apache/qpid-dispatch/pull/514#issuecomment-497790642 My first question which is not related to the contents of this PR is why is this function returning an unsigned int ? The returned value is not used anywhere inside the actual router source code. ---------------------------------------------------------------- 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 > qd_buffer_list_clone is wasting dst buffers available capacity > -------------------------------------------------------------- > > Key: DISPATCH-1349 > URL: https://issues.apache.org/jira/browse/DISPATCH-1349 > Project: Qpid Dispatch > Issue Type: Improvement > Components: Routing Engine > Affects Versions: 1.7.0 > Reporter: Francesco Nigro > Priority: Minor > > qd_buffer_list_clone is not filling completely destination buffers available > space (if any) after the first memcpy, allocating unnecessary qd_buffer(s) -- This message was sent by Atlassian JIRA (v7.6.3#76005) --------------------------------------------------------------------- To unsubscribe, e-mail: dev-unsubscr...@qpid.apache.org For additional commands, e-mail: dev-h...@qpid.apache.org