diff options
author | Glenn Strauss <gstrauss@gluelogic.com> | 2022-02-09 02:44:25 -0500 |
---|---|---|
committer | Glenn Strauss <gstrauss@gluelogic.com> | 2022-02-19 02:40:37 -0500 |
commit | d0273c8af5e17d025cce3ff4f89bdc984b157635 (patch) | |
tree | 65acdfe002eb4b14fde097742549712bfa280fc5 /src/mod_magnet_cache.h | |
parent | a162fc70e9bca2b6e0d51c26d9b19ebd110e3578 (diff) | |
download | lighttpd-git-d0273c8af5e17d025cce3ff4f89bdc984b157635.tar.gz |
[mod_magnet] defer req_env init unless needed
defer req_env initialization unless req_env might be needed by script
Diffstat (limited to 'src/mod_magnet_cache.h')
-rw-r--r-- | src/mod_magnet_cache.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/mod_magnet_cache.h b/src/mod_magnet_cache.h index 49df0586..571f9286 100644 --- a/src/mod_magnet_cache.h +++ b/src/mod_magnet_cache.h @@ -12,6 +12,7 @@ typedef struct { buffer etag; lua_State *L; + int req_env_init; } script; typedef struct { |