trafficserver-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Chou, Peter" <pbc...@labs.att.com>
Subject Lua Plugin Question.
Date Mon, 22 May 2017 19:48:25 GMT
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

Mime
View raw message