Uploaded image for project: 'Traffic Server'
  1. Traffic Server
  2. TS-4590

INKVConnInternal didn't set m_free_magic to DEAD as INKContInternal

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Closed
    • Major
    • Resolution: Fixed
    • None
    • 7.0.0
    • TS API
    • None

    Description

      The class INKContInternal is a base class of INKVConnInternal.

      INKVConnInternal rewrite destroy() and handle_event(), but forgot to set m_free_magic to DEAD that is a debug flag.

      I will add 2 methods for INKContInternal and INKVConnInternal:

      • clear()
      • clear variables
      • free()
      • call clear() first
      • call this->mutex.clear();
      • set m_free_magic
      • call xxxAllocator.free(this)

      and rewrite destroy to call free().

      Attachments

        Issue Links

          Activity

            People

              oknet Chao Xu
              oknet Chao Xu
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: