]> git.ipfire.org Git - thirdparty/suricata.git/commit
detect/http: clean up header buffer logic
authorVictor Julien <victor@inliniac.net>
Sat, 11 Sep 2021 07:47:31 +0000 (09:47 +0200)
committerVictor Julien <victor@inliniac.net>
Sat, 11 Sep 2021 09:01:38 +0000 (11:01 +0200)
commit9a5c666b2659cba6eef20c6721d572f5c7991a43
tree407bd8175e5dfe020f65e48b541b4fefc4e1bcf2
parentca760e305cd74933b685b1bd5be795b24a7d94a7
detect/http: clean up header buffer logic

Simplify and clean up header buffer management. The code was designed
to track buffers for several transactions in parallel, from when the
detection engine wasn't aware of transactions.

For http.start and http.header_names use generic mpm and inspect
functions.
src/detect-http-header-common.c
src/detect-http-header-common.h
src/detect-http-header-names.c
src/detect-http-header.c
src/detect-http-start.c