diff options
author | William A. Rowe Jr <wrowe@apache.org> | 2008-04-06 02:42:21 +0200 |
---|---|---|
committer | William A. Rowe Jr <wrowe@apache.org> | 2008-04-06 02:42:21 +0200 |
commit | a8d0009e5c7b782b4a00fd39ca97acdb13becd1a (patch) | |
tree | 2bccc8d7b69eab4b4d5ae57abfbd0e7929586196 /modules/http/http_core.c | |
parent | Optimisation: We have no need to distiguish between a Cookie and a Cookie2 wh... (diff) | |
download | apache2-a8d0009e5c7b782b4a00fd39ca97acdb13becd1a.tar.xz apache2-a8d0009e5c7b782b4a00fd39ca97acdb13becd1a.zip |
If you study all of the directive implementations, you'll note
that we get less than 20% of the NOT_IN_LIMIT rules correct.
<Limit > works in about 4 directive contexts and yet, we ignore
this fact for 100's of directives. Simply eliminate this
nonsense in anticipation of a 100% solution.
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@645189 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'modules/http/http_core.c')
-rw-r--r-- | modules/http/http_core.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/modules/http/http_core.c b/modules/http/http_core.c index c2607809d2..b4cafaf435 100644 --- a/modules/http/http_core.c +++ b/modules/http/http_core.c @@ -49,7 +49,7 @@ static int ap_process_http_connection(conn_rec *c); static const char *set_keep_alive_timeout(cmd_parms *cmd, void *dummy, const char *arg) { - const char *err = ap_check_cmd_context(cmd, NOT_IN_DIR_LOC_FILE|NOT_IN_LIMIT); + const char *err = ap_check_cmd_context(cmd, NOT_IN_DIR_LOC_FILE); if (err != NULL) { return err; } @@ -61,7 +61,7 @@ static const char *set_keep_alive_timeout(cmd_parms *cmd, void *dummy, static const char *set_keep_alive(cmd_parms *cmd, void *dummy, const char *arg) { - const char *err = ap_check_cmd_context(cmd, NOT_IN_DIR_LOC_FILE|NOT_IN_LIMIT); + const char *err = ap_check_cmd_context(cmd, NOT_IN_DIR_LOC_FILE); if (err != NULL) { return err; } @@ -81,7 +81,7 @@ static const char *set_keep_alive(cmd_parms *cmd, void *dummy, static const char *set_keep_alive_max(cmd_parms *cmd, void *dummy, const char *arg) { - const char *err = ap_check_cmd_context(cmd, NOT_IN_DIR_LOC_FILE|NOT_IN_LIMIT); + const char *err = ap_check_cmd_context(cmd, NOT_IN_DIR_LOC_FILE); if (err != NULL) { return err; } |