Project

General

Profile

Actions

Optimization #5787

open

detect/filestore: optimize http tx handling

Added by Victor Julien almost 2 years ago. Updated 12 months ago.

Status:
New
Priority:
Normal
Assignee:
Target version:
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

Also available in: Atom PDF