Andrew Stitcher created PROTON-2375:
---------------------------------------
Summary: 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
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: [email protected]
For additional commands, e-mail: [email protected]