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

Supporting reloading lua script on ats reload for ts_lua when run as a global plugin

    XMLWordPrintableJSON

Details

    • New Feature
    • Status: Open
    • Major
    • Resolution: Unresolved
    • None
    • sometime
    • Lua, Plugins
    • None

    Description

      suppose i have some acl rules that seldom changes,
      i would like to make them a global table that shared among all the lua coroutines.

      i also would like to update the rule without restarting traffic server, but
      there seems to be no way to update this global after they are initalized.

      should i modify ts_lua to call some dynamic uploaded chunk that
      update the global for each ts_lua_main_ctx ?

      any ideas ?

      Attachments

        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: