mirror of
https://github.com/owasp-modsecurity/ModSecurity.git
synced 2026-01-16 00:17:11 +03:00
add header to SecReadStateLimit
This commit is contained in:
@@ -20,6 +20,7 @@
|
|||||||
|
|
||||||
#include "http_core.h"
|
#include "http_core.h"
|
||||||
#include "http_request.h"
|
#include "http_request.h"
|
||||||
|
#include "http_connection.h"
|
||||||
|
|
||||||
#include "modsecurity.h"
|
#include "modsecurity.h"
|
||||||
#include "apache2.h"
|
#include "apache2.h"
|
||||||
@@ -29,6 +30,8 @@
|
|||||||
#include "msc_logging.h"
|
#include "msc_logging.h"
|
||||||
#include "msc_util.h"
|
#include "msc_util.h"
|
||||||
|
|
||||||
|
#include "ap_mpm.h"
|
||||||
|
#include "scoreboard.h"
|
||||||
|
|
||||||
/* ModSecurity structure */
|
/* ModSecurity structure */
|
||||||
|
|
||||||
@@ -1083,7 +1086,6 @@ static int hook_connection_early(conn_rec *conn)
|
|||||||
sb_handle *sb = conn->sbh;
|
sb_handle *sb = conn->sbh;
|
||||||
int i, j;
|
int i, j;
|
||||||
int ip_count = 0;
|
int ip_count = 0;
|
||||||
int limit = 0;
|
|
||||||
worker_score *ws_record = NULL;
|
worker_score *ws_record = NULL;
|
||||||
|
|
||||||
if(sb != NULL && conn_read_state_limit > 0) {
|
if(sb != NULL && conn_read_state_limit > 0) {
|
||||||
|
|||||||
Reference in New Issue
Block a user