summaryrefslogtreecommitdiff
path: root/src/mod_skeleton.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/mod_skeleton.c')
-rw-r--r--src/mod_skeleton.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/mod_skeleton.c b/src/mod_skeleton.c
index 9cea92c..0ce833f 100644
--- a/src/mod_skeleton.c
+++ b/src/mod_skeleton.c
@@ -169,6 +169,8 @@ URIHANDLER_FUNC(mod_skeleton_uri_handler) {
UNUSED(srv);
+ if (con->mode != DIRECT) return HANDLER_GO_ON;
+
if (con->uri.path->used == 0) return HANDLER_GO_ON;
mod_skeleton_patch_connection(srv, con, p);