Uploaded image for project: 'Qpid'
  1. Qpid
  2. QPID-2004

On shutting down the broker, the connection state of active connections is not freed

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Reopened
    • Minor
    • Resolution: Unresolved
    • 0.5
    • None
    • C++ Broker
    • Linux

    Description

      The IO layer (e.g. AsynchIOHandler for TCP) creates and holds a ConnectionCodec object by pointer for each connection. All connection state is rooted in that object. However for connections that are active when the broker is shutdown, those objects and all their internal state, is not freed but is leaked.

      As the broker is shutting down anyway, the leak is not nice but not critical (henc I've marked this as minor rather than major). However it can lead to e.g. Queue destructors not being called etc.

      Attachments

        Issue Links

          Activity

            People

              astitcher Andrew Stitcher
              gsim Gordon Sim
              Votes:
              1 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated: