summaryrefslogtreecommitdiffstats
path: root/src/plugins/http_static/static_server.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/plugins/http_static/static_server.c')
-rw-r--r--src/plugins/http_static/static_server.c6
1 files changed, 0 insertions, 6 deletions
diff --git a/src/plugins/http_static/static_server.c b/src/plugins/http_static/static_server.c
index 7afac4229c3..fe5718b7e0f 100644
--- a/src/plugins/http_static/static_server.c
+++ b/src/plugins/http_static/static_server.c
@@ -546,12 +546,6 @@ hss_ts_rx_callback (session_t *ts)
goto done;
}
- if (msg.data.target_form != HTTP_TARGET_ORIGIN_FORM)
- {
- start_send_data (hs, HTTP_STATUS_BAD_REQUEST);
- goto done;
- }
-
/* Read target path */
if (msg.data.target_path_len)
{