diff --git a/rust/htp/src/decompressors.rs b/rust/htp/src/decompressors.rs index 8b4a5fedf9..dc3ce84b83 100644 --- a/rust/htp/src/decompressors.rs +++ b/rust/htp/src/decompressors.rs @@ -744,7 +744,7 @@ struct BrotliBufWriter { impl BrotliBufWriter { pub fn new(cursor: BlockingCursor) -> BrotliBufWriter { BrotliBufWriter { - state: BrotliState::new( + state: BrotliState::new_strict( HeapAlloc::::new(0), HeapAlloc::::new(0), HeapAlloc::::new(HuffmanCode { bits: 0, value: 0 }),