You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@qpid.apache.org by "Andrew Stitcher (Jira)" <ji...@apache.org> on 2023/07/11 21:56:00 UTC
[jira] [Resolved] (PROTON-2751) Reduce use of pn_buffer_t when not needed
[ https://issues.apache.org/jira/browse/PROTON-2751?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Andrew Stitcher resolved PROTON-2751.
-------------------------------------
Fix Version/s: proton-c-0.40.0
Resolution: Fixed
> Reduce use of pn_buffer_t when not needed
> -----------------------------------------
>
> Key: PROTON-2751
> URL: https://issues.apache.org/jira/browse/PROTON-2751
> Project: Qpid Proton
> Issue Type: Improvement
> Components: proton-c
> Reporter: Andrew Stitcher
> Assignee: Andrew Stitcher
> Priority: Major
> Fix For: proton-c-0.40.0
>
>
> pn_buffer_t has complex logic to hold and manage a ring buffer. But is being used just to manage a resizeable bytes buffer. And in most of those places the buffer doesn't really nned to be resized either!
> So it can be replaced in many places with much simpler code.
--
This message was sent by Atlassian Jira
(v8.20.10#820010)
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@qpid.apache.org
For additional commands, e-mail: dev-help@qpid.apache.org