Fix file analysis placement of data after gap in HTTP Content-Range.

Addresses BIT-1248.
This commit is contained in:
Jon Siwek 2014-09-11 12:25:43 -05:00
parent f1cef9d2a9
commit 1e02d5d5b5
4 changed files with 11 additions and 0 deletions

View file

@ -0,0 +1,8 @@
# @TEST-EXEC: bro -r $TRACES/http/content-range-gap.trace %INPUT
# @TEST-EXEC: btest-diff extract_files/thefile
event file_new(f: fa_file)
{
Files::add_analyzer(f, Files::ANALYZER_EXTRACT,
[$extract_filename="thefile"]);
}