Uploaded image for project: 'Qpid Proton'
  1. Qpid Proton
  2. PROTON-2375

Make connection driver more efficient when finishing writes

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Closed
    • Major
    • Resolution: Fixed
    • proton-c-0.34.0
    • proton-c-0.35.0
    • cpp-binding, proton-c
    • 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.

      Attachments

        Activity

          People

            astitcher Andrew Stitcher
            astitcher Andrew Stitcher
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: