summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGraham Leggett <minfrin@apache.org>2011-12-18 18:21:36 +0100
committerGraham Leggett <minfrin@apache.org>2011-12-18 18:21:36 +0100
commit5923de8ef1d0cb3adabeae14fda4b11d7b219218 (patch)
treef7ac579b912b346e3b4f62955817924aa69ccab9
parentUpdate transformations. (diff)
downloadapache2-5923de8ef1d0cb3adabeae14fda4b11d7b219218.tar.xz
apache2-5923de8ef1d0cb3adabeae14fda4b11d7b219218.zip
mod_firehose: Ensure directives are defined global only.
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1220460 13f79535-47bb-0310-9956-ffa450edef68
-rw-r--r--modules/debugging/mod_firehose.c14
1 files changed, 7 insertions, 7 deletions
diff --git a/modules/debugging/mod_firehose.c b/modules/debugging/mod_firehose.c
index fd5c51cbf9..4548e7ea27 100644
--- a/modules/debugging/mod_firehose.c
+++ b/modules/debugging/mod_firehose.c
@@ -387,7 +387,7 @@ static int firehose_create_request(request_rec *r)
return OK;
}
-/* TODO: Make sure the connection directives are enforced global only.
+/* Ideas for extension:
*
* TODO: An idea for configuration. Let the filename directives be per-directory,
* with a global hashtable of filename to filehandle mappings. As each directive
@@ -588,7 +588,7 @@ static const char *firehose_enable_connection_input(cmd_parms *cmd,
void *dummy, const char *arg1, const char *arg2)
{
- const char *err = ap_check_cmd_context(cmd, NOT_IN_DIR_LOC_FILE
+ const char *err = ap_check_cmd_context(cmd, GLOBAL_ONLY
| NOT_IN_LIMIT);
if (err != NULL) {
return err;
@@ -603,7 +603,7 @@ static const char *firehose_enable_connection_output(cmd_parms *cmd,
void *dummy, const char *arg1, const char *arg2)
{
- const char *err = ap_check_cmd_context(cmd, NOT_IN_DIR_LOC_FILE
+ const char *err = ap_check_cmd_context(cmd, GLOBAL_ONLY
| NOT_IN_LIMIT);
if (err != NULL) {
return err;
@@ -618,7 +618,7 @@ static const char *firehose_enable_request_input(cmd_parms *cmd, void *dummy,
const char *arg1, const char *arg2)
{
- const char *err = ap_check_cmd_context(cmd, NOT_IN_DIR_LOC_FILE
+ const char *err = ap_check_cmd_context(cmd, GLOBAL_ONLY
| NOT_IN_LIMIT);
if (err != NULL) {
return err;
@@ -633,7 +633,7 @@ static const char *firehose_enable_request_output(cmd_parms *cmd, void *dummy,
const char *arg1, const char *arg2)
{
- const char *err = ap_check_cmd_context(cmd, NOT_IN_DIR_LOC_FILE
+ const char *err = ap_check_cmd_context(cmd, GLOBAL_ONLY
| NOT_IN_LIMIT);
if (err != NULL) {
return err;
@@ -648,7 +648,7 @@ static const char *firehose_enable_proxy_connection_input(cmd_parms *cmd,
void *dummy, const char *arg1, const char *arg2)
{
- const char *err = ap_check_cmd_context(cmd, NOT_IN_DIR_LOC_FILE
+ const char *err = ap_check_cmd_context(cmd, GLOBAL_ONLY
| NOT_IN_LIMIT);
if (err != NULL) {
return err;
@@ -663,7 +663,7 @@ static const char *firehose_enable_proxy_connection_output(cmd_parms *cmd,
void *dummy, const char *arg1, const char *arg2)
{
- const char *err = ap_check_cmd_context(cmd, NOT_IN_DIR_LOC_FILE
+ const char *err = ap_check_cmd_context(cmd, GLOBAL_ONLY
| NOT_IN_LIMIT);
if (err != NULL) {
return err;