]> git.ipfire.org Git - thirdparty/suricata.git/commit
files: append data on closing even with FILE_NOSTORE 12719/head 12725/head
authorPhilippe Antoine <pantoine@oisf.net>
Tue, 4 Mar 2025 15:30:19 +0000 (16:30 +0100)
committerPhilippe Antoine <pantoine@oisf.net>
Thu, 6 Mar 2025 06:27:41 +0000 (07:27 +0100)
commitda092a5d839b0cd2c51ff6df43dfa87d25fdd969
tree183f9fa9b81316d1ca23bffd26f7491c602678ae
parent782f35c5cf8fb6375ae98f62ffb5a0e0ab0021c7
files: append data on closing even with FILE_NOSTORE

Ticket: 7577

When HTTP1 post multipart handles a small file, it will call
HTPFileClose with some data
This data needs to be appended to the streaming buffer for usage
by file.data keyword even if we do not end up storing the file

(cherry picked from commit f68e2f5537c95388858129aa1b076e976354584a)
src/util-file.c