summaryrefslogtreecommitdiff
path: root/src/mod_skeleton.c
diff options
context:
space:
mode:
authorGlenn Strauss <gstrauss@gluelogic.com>2020-01-11 00:54:31 -0500
committerGlenn Strauss <gstrauss@gluelogic.com>2020-07-08 19:54:29 -0400
commit31d9495330fe6242738cdc873a71153dcb03939a (patch)
tree53873e16b998747723f4c7c59e49108dcabab19b /src/mod_skeleton.c
parenteea7cd3c2f576d1cff6850fa208adc5ee00468e5 (diff)
downloadlighttpd-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_skeleton.c')
-rw-r--r--src/mod_skeleton.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mod_skeleton.c b/src/mod_skeleton.c
index 62d22500..88d287d0 100644
--- a/src/mod_skeleton.c
+++ b/src/mod_skeleton.c
@@ -114,7 +114,7 @@ URIHANDLER_FUNC(mod_skeleton_uri_handler) {
/* determine whether or not module participates in request */
- if (con->mode != DIRECT) return HANDLER_GO_ON;
+ if (NULL != con->response.handler_module) return HANDLER_GO_ON;
if (buffer_string_is_empty(con->uri.path)) return HANDLER_GO_ON;
/* get module config for request */