summaryrefslogtreecommitdiffstats
path: root/include/http_config.h
diff options
context:
space:
mode:
authorEric Covener <covener@apache.org>2015-01-30 17:58:20 +0100
committerEric Covener <covener@apache.org>2015-01-30 17:58:20 +0100
commit2154a9de68745582f49281f28c60e256fb6bf16c (patch)
treeb371da7a8b9eba6767b845fac3ffd6c84b879dc1 /include/http_config.h
parentGenerated doc changes (diff)
downloadapache2-2154a9de68745582f49281f28c60e256fb6bf16c.tar.xz
apache2-2154a9de68745582f49281f28c60e256fb6bf16c.zip
Provide a way for EXEC_ON_READ directives to see their context
(parent directive). Usually, this context is not also EXEC_ON_READ so it's not fully processed, so e.g cmd->path is not fluffed up yet because the closing tag of the section is not read yet and ap_check_cmd_context() doesn't work) git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1656058 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'include/http_config.h')
-rw-r--r--include/http_config.h5
1 files changed, 4 insertions, 1 deletions
diff --git a/include/http_config.h b/include/http_config.h
index da4490c0a4..0dfca50f4f 100644
--- a/include/http_config.h
+++ b/include/http_config.h
@@ -325,7 +325,10 @@ struct cmd_parms_struct {
struct ap_conf_vector_t *context;
/** directive with syntax error */
const ap_directive_t *err_directive;
-
+
+ /** If the current directive is EXEC_ON_READ, this is the
+ enclosing directive */
+ ap_directive_t *parent;
};
/**