]> git.ipfire.org Git - people/ms/suricata.git/commit
http/range: cleanup and simplification
authorVictor Julien <victor@inliniac.net>
Tue, 3 Aug 2021 09:51:26 +0000 (11:51 +0200)
committerPhilippe Antoine <contact@catenacyber.fr>
Fri, 24 Sep 2021 13:22:09 +0000 (15:22 +0200)
commit7a797631e03cb62e0c7c0db229f9974abb808247
treec8119e9bc64bae2d696690d26e81c84a5fb71de8
parent5ffc9622b35f321ac270957df36919cd79f066c5
http/range: cleanup and simplification

Simplify locking by using the THashData lock instead of a separate
range lock.

Avoid size_t in function arguments.

Clean up file handling functions.

Implement handling of alloc errors.

Rename yaml entry to byterange

Unify public api naming
src/app-layer-htp-file.c
src/app-layer-htp-file.h
src/app-layer-htp-range.c
src/app-layer-htp-range.h
src/app-layer-htp.c
suricata.yaml.in