]> git.ipfire.org Git - people/ms/suricata.git/commit
app-layer-htp: close file with TRUNCATE state
authorGiuseppe Longo <glongo@stamus-networks.com>
Mon, 12 Mar 2018 11:41:35 +0000 (12:41 +0100)
committerVictor Julien <victor@inliniac.net>
Tue, 7 Aug 2018 11:49:34 +0000 (13:49 +0200)
commitfc38013975ab8875863e23efda97eaecb7ff7a09
treec4c8340ec670e67e693d5abb0b0d406471140dd3
parentc8fb9bcba54590a9c082b96b24f3789b9db1f1ad
app-layer-htp: close file with TRUNCATE state

When a file in TOSERVER direction is being stored and
libhtp or stream depth limit is reached,
it will be closed by HTPCallbackRequest without setting
any flags so the file state will be set to CLOSED
instead of TRUNCATED.
src/app-layer-htp.c