Details
-
Improvement
-
Status: Closed
-
Major
-
Resolution: Fixed
-
proton-c-0.34.0
-
None
Description
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.