summaryrefslogtreecommitdiff
path: root/src/mod_flv_streaming.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/mod_flv_streaming.c')
-rw-r--r--src/mod_flv_streaming.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/mod_flv_streaming.c b/src/mod_flv_streaming.c
index 238dc9aa..c0b1dd64 100644
--- a/src/mod_flv_streaming.c
+++ b/src/mod_flv_streaming.c
@@ -193,6 +193,8 @@ URIHANDLER_FUNC(mod_flv_streaming_path_handler) {
UNUSED(srv);
+ if (con->mode != DIRECT) return HANDLER_GO_ON;
+
if (buffer_is_empty(con->physical.path)) return HANDLER_GO_ON;
mod_flv_streaming_patch_connection(srv, con, p);