From afea6dbe6138456827b1320a77d16eefa63b70ca Mon Sep 17 00:00:00 2001 From: brenosilva Date: Fri, 19 Oct 2012 17:05:08 +0000 Subject: [PATCH] Fixed drop action was disabled by mistake for apache2 --- apache2/mod_security2.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/apache2/mod_security2.c b/apache2/mod_security2.c index ea08406d..05de75b6 100644 --- a/apache2/mod_security2.c +++ b/apache2/mod_security2.c @@ -222,7 +222,7 @@ int perform_interception(modsec_rec *msr) { /* ENH This does not seem to work on Windows. Is there a * better way to drop a connection anyway? */ - #if !defined(WIN32) && defined(ALLOW_ACTION_DROP) + #if !defined(WIN32) && !defined(VERSION_NGINX) { extern module core_module; apr_socket_t *csd = ap_get_module_config(msr->r->connection->conn_config,