]> git.ipfire.org Git - thirdparty/suricata.git/commit
detect/stream: fix async stream inspection
authorVictor Julien <victor@inliniac.net>
Thu, 17 Dec 2020 20:04:13 +0000 (21:04 +0100)
committerVictor Julien <victor@inliniac.net>
Wed, 23 Dec 2020 20:21:12 +0000 (21:21 +0100)
commit82e10f2cdda3f9c22ce56e06d87e12cb7e739191
tree0c0119f02b1b145b68b8f07c3024d3703f5bb866
parent3e41ba668e1cfabd0b1fbd97ed109bff064c180e
detect/stream: fix async stream inspection

Move raw progress forward only if detect uses stream data, indicated
by the PKT_DETECT_HAS_STREAMDATA flag.

(cherry picked from commit 3c7c361b603653a4c0bb30a4261babc45988d163)
src/detect.c
src/tests/detect-http-uri.c