On 07/05/2017 11:19 AM, Jacob Champion wrote:
So the effective change is that "apr_table" is no longer a global name,
is that correct?
Unfortunately, from poking around on GitHub, it looks like removing this
global variable might break at least one production script [1]. Not
because they're using the function table, but because they key on its
existence to know they're talking to httpd.
In addition, here's code that used to work but no longer does:
apr_table.set(r.headers_out, "X-Header", "value")
So... do we care? What are the compatibility guarantees we make for
mod_lua, since it's experimental?
--Jacob
[1] https://github.com/sailorproject/sailor/blob/master/src/sailor.lua#L31