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

Reduce use of pn_buffer_t when not needed

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Closed
    • Major
    • Resolution: Fixed
    • None
    • proton-c-0.40.0
    • proton-c
    • None

    Description

      pn_buffer_t has complex logic to hold and manage a ring buffer. But is being used just to manage a resizeable bytes buffer. And in most of those places the buffer doesn't really nned to be resized either!
      So it can be replaced in many places with much simpler code.

      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: