mirror of https://github.com/OISF/suricata
app-layer-parser: don't overwrite stream_depth value
When an app-layer parser is enabled, it could set its own stream_depth value calling the API AppLayerParserSetStreamDepth. Then, the function AppLayerParserPostStreamSetup will replace the stream_depth value already set with stream_config.reassembly_depth. To avoid overwriting, in AppLayerParserSetStreamDepth API a flag will be set internally to specify that a value is already set.pull/3448/head
parent
7c884e0850
commit
397f5f5fdf
Loading…
Reference in New Issue