From: Mike Stepanek (mstepane) Date: Thu, 17 Oct 2019 19:54:44 +0000 (-0400) Subject: Merge pull request #1805 in SNORT/snort3 from ~THOPETER/snort3:nhttp127 to master X-Git-Tag: 3.0.0-263~18 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=9292b81c71d7a34023528f3ab5cbfd7362942ef7;p=thirdparty%2Fsnort3.git Merge pull request #1805 in SNORT/snort3 from ~THOPETER/snort3:nhttp127 to master Squashed commit of the following: commit 35c95333f95722ba5b344d34c073c3734317adb2 Author: Tom Peters Date: Thu Oct 17 14:43:45 2019 -0400 http_inspect: add more config initializers --- diff --git a/src/service_inspectors/http_inspect/http_module.h b/src/service_inspectors/http_inspect/http_module.h index e95e11260..65cbeb986 100644 --- a/src/service_inspectors/http_inspect/http_module.h +++ b/src/service_inspectors/http_inspect/http_module.h @@ -34,10 +34,10 @@ struct HttpParaList { public: - int64_t request_depth; - int64_t response_depth; + int64_t request_depth = -1; + int64_t response_depth = -1; - bool unzip; + bool unzip = true; bool normalize_utf = true; bool decompress_pdf = false; bool decompress_swf = false; @@ -79,13 +79,13 @@ public: UriParam uri_param; #ifdef REG_TEST - int64_t print_amount; + int64_t print_amount = 1200; - bool test_input; - bool test_output; - bool print_hex; - bool show_pegs; - bool show_scan; + bool test_input = false; + bool test_output = false; + bool print_hex = false; + bool show_pegs = true; + bool show_scan = false; #endif };