]> git.ipfire.org Git - thirdparty/suricata.git/commit
app-layer/files: optimize GetFiles calls
authorVictor Julien <victor@inliniac.net>
Tue, 26 Feb 2019 09:56:53 +0000 (10:56 +0100)
committerVictor Julien <victor@inliniac.net>
Tue, 11 Feb 2020 14:04:28 +0000 (15:04 +0100)
commita4a4d17ad02ce23d6b79bd5c3372d367287f6dd3
treeb91c0c22a5f6858bed5820ae89594ee518ca1db4
parentd369e54f1dd729cb4a89ee4b44f7a9497fe73b34
app-layer/files: optimize GetFiles calls

Remove FlowGetProtoMapping calls from the GetFiles wrapper and
get the alstate from the flow directly.
12 files changed:
src/app-layer-parser.c
src/app-layer-parser.h
src/detect-engine-file.c
src/detect-engine-state.c
src/detect-file-data.c
src/detect-filemagic.c
src/detect-filename.c
src/detect-filestore.c
src/flow-worker.c
src/output-file.c
src/output-filedata.c
src/util-file.c