Makes `large stream optimization' optional

This commit is contained in:
Felipe Zimmerle
2017-10-05 18:25:52 +00:00
parent 2e9ea0a677
commit 6406e2108d
5 changed files with 84 additions and 5 deletions

View File

@@ -287,7 +287,10 @@ struct modsec_rec {
unsigned int resbody_contains_html;
apr_size_t stream_input_length;
#ifdef MSC_LARGE_STREAM_INPUT
apr_size_t stream_input_allocated_length;
#endif
char *stream_input_data;
apr_size_t stream_output_length;
char *stream_output_data;