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 2021/04/21 02:35:00 UTC
[jira] [Resolved] (PROTON-2375) Make connection driver more
efficient when finishing writes
[ https://issues.apache.org/jira/browse/PROTON-2375?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Andrew Stitcher resolved PROTON-2375.
-------------------------------------
Fix Version/s: proton-c-0.35.0
Resolution: Fixed
> Make connection driver more efficient when finishing writes
> -----------------------------------------------------------
>
> Key: PROTON-2375
> URL: https://issues.apache.org/jira/browse/PROTON-2375
> Project: Qpid Proton
> Issue Type: Improvement
> Components: cpp-binding, proton-c
> Affects Versions: proton-c-0.34.0
> Reporter: Andrew Stitcher
> Assignee: Andrew Stitcher
> Priority: Major
> Fix For: proton-c-0.35.0
>
>
> This is a small ABI preserving change to the connection_driver API which makes the process of informing the connection_driver that writes have been completed and the buffer can be returned more efficient.
> {{pn_connection_driver_write_done()}} is changed to return any new bytes that may have been generated up to this point so that the proactor (or other event loop) doesn't have to immediately query for them.
> Note this is ABI preserving because previously there was no return value so code couldn't be using it. If old code ignores the return value then this is no change in behaviour.
--
This message was sent by Atlassian Jira
(v8.3.4#803005)
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@qpid.apache.org
For additional commands, e-mail: dev-help@qpid.apache.org