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

support hmac functions in ts_lua plugin

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Won't Fix
    • None
    • sometime
    • Lua, Plugins
    • None

    Description

      Requiring sha1 from https://luarocks.org/modules/kikito/sha1
      in global hook mode would cause ts_lua to dead-loop and 100% cpu util, then killed by TM & restarted.
      This creates a "start -> high cpu dead-loop -> killed" dead end.

      By chaning "local PRELOAD_CACHE = true" in sha1.lua to "local PRELOAD_CACHE = false", ts_lua will started successfully.

      i am not sure if this is a bug of luajit/sha1/ts_lua, but requires sha1 from bare luajit command-line without disable PRELOAD_CACHE works fine.

      Attachments

        1. test_crypto.lua
          2 kB
          Shu Kit Francis Chan

        Activity

          People

            kichan Shu Kit Francis Chan
            jamesf James Fang
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Slack

                Issue deployment