You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@qpid.apache.org by "Robbie Gemmell (Jira)" <ji...@apache.org> on 2022/02/14 18:38:00 UTC
[jira] [Comment Edited] (PROTON-2447) Add new internal API pn_buffer_free_memory to get direct access to unused memory in buffer
[ https://issues.apache.org/jira/browse/PROTON-2447?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17492145#comment-17492145 ]
Robbie Gemmell edited comment on PROTON-2447 at 2/14/22, 6:37 PM:
------------------------------------------------------------------
A commit was made for this on Nov 4th 2021:
[https://github.com/apache/qpid-proton/commit/42a1ae5783ace2ad8f35cb9f8259486735185356]
{noformat}
42a1ae5783ace2ad8f35cb9f8259486735185356
From: Andrew Stitcher
Date: Wed, 12 May 2021 14:04:50 -0400
Subject: [PATCH] PROTON-2447: Added API to pn_buffer to get access to available memory
{noformat}
was (Author: gemmellr):
A commit was made for this: https://github.com/apache/qpid-proton/commit/42a1ae5783ace2ad8f35cb9f8259486735185356
{noformat}
42a1ae5783ace2ad8f35cb9f8259486735185356
From: Andrew Stitcher
Date: Wed, 12 May 2021 14:04:50 -0400
Subject: [PATCH] PROTON-2447: Added API to pn_buffer to get access to available memory
{noformat}
> Add new internal API pn_buffer_free_memory to get direct access to unused memory in buffer
> ------------------------------------------------------------------------------------------
>
> Key: PROTON-2447
> URL: https://issues.apache.org/jira/browse/PROTON-2447
> Project: Qpid Proton
> Issue Type: New Feature
> Components: proton-c
> Reporter: Andrew Stitcher
> Assignee: Andrew Stitcher
> Priority: Minor
> Fix For: proton-c-0.37.0
>
>
> Using pn_buffer_t is a little bit hackish, but is the simplest current way to manage a variable sized (resizeable) buffer in proton. It is missing a direct way top get the byte span of the un used memory.
> This change adds that API.
--
This message was sent by Atlassian Jira
(v8.20.1#820001)
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@qpid.apache.org
For additional commands, e-mail: dev-help@qpid.apache.org