summaryrefslogtreecommitdiff
path: root/src/configfile.h
diff options
context:
space:
mode:
authorStefan Bühler <stbuehler@web.de>2016-02-21 18:32:14 +0000
committerStefan Bühler <stbuehler@web.de>2016-02-21 18:32:14 +0000
commitad65603ec07499e5eb4e5b8b7b09d5d3937f1396 (patch)
treedfb6a51f7c72ce4dfee3604768e0564f8cd5bf39 /src/configfile.h
parent1c01a42aa3bf1ff997ae1e58e53b88053f84faa8 (diff)
downloadlighttpd-git-ad65603ec07499e5eb4e5b8b7b09d5d3937f1396.tar.gz
[core] fix conditional cache handling
- add new "skip" result to mark conditions that didn't actually get evaluated to false but just skipped because the preconditions failed. - add "local_result" for each cache entry to remember whether the condition itself matched (not including the preconditions). this can be reused after a cache reset if the condition itself was not reset, but the preconditions were - clear result of subtree (children and else-branches) when clearing a condition cache From: Stefan Bühler <stbuehler@web.de> git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-1.4.x@3082 152afb58-edef-0310-8abb-c4023f1b3aa9
Diffstat (limited to 'src/configfile.h')
-rw-r--r--src/configfile.h3
1 files changed, 0 insertions, 3 deletions
diff --git a/src/configfile.h b/src/configfile.h
index f46e869f..17743a07 100644
--- a/src/configfile.h
+++ b/src/configfile.h
@@ -24,7 +24,4 @@ data_unset *configparser_merge_data(data_unset *op1, const data_unset *op2);
void config_cond_cache_reset(server *srv, connection *con);
void config_cond_cache_reset_item(server *srv, connection *con, comp_key_t item);
-#define config_cond_cache_reset_all_items(srv, con) \
- config_cond_cache_reset_item(srv, con, COMP_LAST_ELEMENT);
-
#endif