Hi,

 

I am unable to over-ride the negative caching lifetime for a transaction via the Lua plugin.

 

In the code, I found this (under 6.2.1 and master) --

ts_lua_http_config.c:  TS_LUA_CONFIG_HTTP_NEGATIVE_CACHING_ENABLED                 = TS_CONFIG_HTTP_NEGATIVE_CACHING_ENABLED,

ts_lua_http_config.c:  TS_LUA_CONFIG_HTTP_NEGATIVE_CACHING_LIFETIME                = TS_CONFIG_HTTP_CACHE_WHEN_TO_REVALIDATE,

 

Shouldn’t the two sides match?

 

After making the obvious correction it seems to work. If there are no issues or other reason for this I will open a PR.

 

Thanks,

Peter