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

ts_lua plugin document has incorrect 'context' information for the hook point constants

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Minor
    • Resolution: Fixed
    • None
    • Docs
    • Documentation
    • None

    Description

      The section "Hook point constants" in ts_lua Plugin document provides the incorrect information on hook point constants being available to use ts.hook() function.

      Like TS_LUA_HOOK_PRE_REMAP or TS_LUA_HOOK_READ_REQUEST_HDR constants are not useful to register the hook point in do_remap(). However, they can be used in do_global_txn_start() or do_global_read_request() to register for the hook call back functions. So, the 'context' information is irrelevant for this section.

      Attachments

        Activity

          People

            kichan Shu Kit Francis Chan
            rkishore Rajendra Kishore Bonumahanti
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: