Actions
Optimization #5787
opendetect/filestore: optimize http tx handling
Effort:
Difficulty:
Label:
Beginner
Description
When enabling filestore for a file in HTTP, the relevant tx is looked up twice in DetectFilestorePostMatch
: once in AppLayerParserSetStreamDepthFlag
and then directly immediately after.
To address this the AppLayerParserSetStreamDepthFlag
will have to be updated to take the tx pointer in. There is just a single consumer in our tree: http.
Actions