summaryrefslogtreecommitdiff
path: root/src/mod_access.c
diff options
context:
space:
mode:
authorStefan Bühler <stbuehler@web.de>2008-08-01 16:13:34 +0000
committerStefan Bühler <stbuehler@web.de>2008-08-01 16:13:34 +0000
commitad12e4c5b2032af7b3e987a4b2dea65a4f9802a8 (patch)
treeec5a2d1a8e31d0cad98cf3867af014af7e92c5f9 /src/mod_access.c
parentf7dd7203e2d5888424c3b28a92e91593aecc306d (diff)
downloadlighttpd1.4-ad12e4c5b2032af7b3e987a4b2dea65a4f9802a8.tar.gz
lighttpd1.4-ad12e4c5b2032af7b3e987a4b2dea65a4f9802a8.zip
Insert many con->mode checks; they should prevent two modules to handle the same request if they shouldn't (#631)
git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-1.4.x@2271 152afb58-edef-0310-8abb-c4023f1b3aa9
Diffstat (limited to 'src/mod_access.c')
-rw-r--r--src/mod_access.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/mod_access.c b/src/mod_access.c
index f100c804..67b68026 100644
--- a/src/mod_access.c
+++ b/src/mod_access.c
@@ -159,6 +159,7 @@ URIHANDLER_FUNC(mod_access_uri_handler) {
if (denied) {
con->http_status = 403;
+ con->mode = DIRECT;
if (con->conf.log_request_handling) {
log_error_write(srv, __FILE__, __LINE__, "sb",