[ 
https://issues.apache.org/jira/browse/PROTON-2375?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17326206#comment-17326206
 ] 

ASF subversion and git services commented on PROTON-2375:
---------------------------------------------------------

Commit f873b3cd7d20b3ae6c0510ec7d0f8a0c2f6bbcfd in qpid-proton's branch 
refs/heads/main from Andrew Stitcher
[ https://gitbox.apache.org/repos/asf?p=qpid-proton.git;h=f873b3c ]

PROTON-2375: Small connection_driver API change

Make connection_driver API more efficient when finishing writes

This allows epoll proactor to efficiently avoid delving directly into
the transport buffers.

Also small small clean ups.


> 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
>
> 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-unsubscr...@qpid.apache.org
For additional commands, e-mail: dev-h...@qpid.apache.org

Reply via email to