diff options
author | Stefan Bühler <stbuehler@web.de> | 2008-08-01 16:13:34 +0000 |
---|---|---|
committer | Stefan Bühler <stbuehler@web.de> | 2008-08-01 16:13:34 +0000 |
commit | ad12e4c5b2032af7b3e987a4b2dea65a4f9802a8 (patch) | |
tree | ec5a2d1a8e31d0cad98cf3867af014af7e92c5f9 /src/mod_redirect.c | |
parent | f7dd7203e2d5888424c3b28a92e91593aecc306d (diff) | |
download | lighttpd-git-ad12e4c5b2032af7b3e987a4b2dea65a4f9802a8.tar.gz |
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_redirect.c')
-rw-r--r-- | src/mod_redirect.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/mod_redirect.c b/src/mod_redirect.c index bc058579..d5f78640 100644 --- a/src/mod_redirect.c +++ b/src/mod_redirect.c @@ -253,6 +253,7 @@ static handler_t mod_redirect_uri_handler(server *srv, connection *con, void *p_ response_header_insert(srv, con, CONST_STR_LEN("Location"), CONST_BUF_LEN(p->location)); con->http_status = 301; + con->mode = DIRECT; con->file_finished = 1; return HANDLER_FINISHED; |