From: Philippe Antoine Date: Thu, 21 Jan 2021 11:27:31 +0000 (+0100) Subject: http: enables request decompression X-Git-Tag: suricata-7.0.0-beta1~1834 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=refs%2Fpull%2F5784%2Fhead;p=thirdparty%2Fsuricata.git http: enables request decompression --- diff --git a/src/app-layer-htp.c b/src/app-layer-htp.c index 1f91a7d9a6..2b9e84beb6 100644 --- a/src/app-layer-htp.c +++ b/src/app-layer-htp.c @@ -2381,6 +2381,8 @@ static void HTPConfigSetDefaultsPhase1(HTPCfgRec *cfg_prec) /* don't convert + to space by default */ htp_config_set_plusspace_decode(cfg_prec->cfg, HTP_DECODER_URLENCODED, 0); + // enables request decompression + htp_config_set_request_decompression(cfg_prec->cfg, 1); #ifdef HAVE_HTP_CONFIG_SET_LZMA_LAYERS // disable by default htp_config_set_lzma_layers(cfg_prec->cfg, HTP_CONFIG_DEFAULT_LZMA_LAYERS);