Added SecWriteStateLimit for slow post DoS

This commit is contained in:
brenosilva
2011-05-05 17:01:57 +00:00
parent 24c69f798b
commit c1097a0df1
3 changed files with 50 additions and 3 deletions

View File

@@ -134,6 +134,8 @@ extern DSOLOCAL unsigned long int msc_pcre_match_limit_recursion;
extern DSOLOCAL unsigned long int conn_read_state_limit;
extern DSOLOCAL unsigned long int conn_write_state_limit;
#define RESBODY_STATUS_NOT_READ 0 /* we were not configured to read the body */
#define RESBODY_STATUS_ERROR 1 /* error occured while we were reading the body */
#define RESBODY_STATUS_PARTIAL 2 /* partial body content available in the brigade */