Fix: Only delete Multipart tmp files after rules have run

This commit is contained in:
martinhsv
2020-11-02 15:19:43 -08:00
committed by Felipe Zimmerle
parent 1b7aa42c77
commit d72be1c470
8 changed files with 255 additions and 91 deletions

View File

@@ -111,6 +111,7 @@ enum AllowType : int;
namespace RequestBodyProcessor {
class XML;
class JSON;
class MultipartPartTmpFile;
}
namespace operators {
class Operator;
@@ -612,6 +613,8 @@ class Transaction : public TransactionAnchoredVariables, public TransactionSecMa
std::string m_variableTimeWDay;
std::string m_variableTimeYear;
std::vector<std::shared_ptr<RequestBodyProcessor::MultipartPartTmpFile>> m_multipartPartTmpFiles;
private:
/**
* Pointer to the callback function that will be called to fill