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

Introduce 'Drain buffers' event to proactor raw connection

    XMLWordPrintableJSON

Details

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

    Description

      In discussions with users of th raw connection API there is constant (if often brief) puzzlement over receiving read/written events after the connectino is closed but before the disconnect event.

      These events are to tell the application to retrieve all the buffers that they have given the raw connection before the connection becomes completely inaccessible and hence the buffre would leak.

      It would be clearer (and invite less confusion) to have a specific event to tell the application to drain all its buffers.

      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: