It’s my understanding that the http and stream directives each get their own subsystem-specific Lua VM, so when you call init_by_lua_block in both the http and stream directives, the logic in each applies specific to that subsystem.
Does init_worker_by_lua_block work the same way, where I can call init_worker_by_lua_block in both the http and stream directives, and the worker will have both blocks called for each subsystem? Or can this cause issues?
Thanks in advance for any replies!
Chet