diff options
author | Glenn Strauss <gstrauss@gluelogic.com> | 2020-01-11 00:54:31 -0500 |
---|---|---|
committer | Glenn Strauss <gstrauss@gluelogic.com> | 2020-07-08 19:54:29 -0400 |
commit | 31d9495330fe6242738cdc873a71153dcb03939a (patch) | |
tree | 53873e16b998747723f4c7c59e49108dcabab19b /src/mod_redirect.c | |
parent | eea7cd3c2f576d1cff6850fa208adc5ee00468e5 (diff) | |
download | lighttpd-git-31d9495330fe6242738cdc873a71153dcb03939a.tar.gz |
[core] store subrequest_handler instead of mode
store pointer to module in handler_module instead of con->mode id
Diffstat (limited to 'src/mod_redirect.c')
-rw-r--r-- | src/mod_redirect.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mod_redirect.c b/src/mod_redirect.c index 7743edfc..3344d981 100644 --- a/src/mod_redirect.c +++ b/src/mod_redirect.c @@ -180,7 +180,7 @@ URIHANDLER_FUNC(mod_redirect_uri_handler) { CONST_STR_LEN("Location"), CONST_BUF_LEN(tb)); con->http_status = p->conf.redirect_code; - con->mode = DIRECT; + con->response.handler_module = NULL; con->response.resp_body_finished = 1; } else if (HANDLER_ERROR == rc) { |