|
|
@ -1147,6 +1147,7 @@ void FileUpdateFlowFileFlags(Flow *f, uint16_t set_file_flags, uint8_t direction
|
|
|
|
*/
|
|
|
|
*/
|
|
|
|
void FileDisableStoringForTransaction(Flow *f, const uint8_t direction, void *tx, uint64_t tx_id)
|
|
|
|
void FileDisableStoringForTransaction(Flow *f, const uint8_t direction, void *tx, uint64_t tx_id)
|
|
|
|
{
|
|
|
|
{
|
|
|
|
|
|
|
|
if (g_file_force_filestore == 0) {
|
|
|
|
AppLayerTxData *txd = AppLayerParserGetTxData(f->proto, f->alproto, tx);
|
|
|
|
AppLayerTxData *txd = AppLayerParserGetTxData(f->proto, f->alproto, tx);
|
|
|
|
if (txd != NULL) {
|
|
|
|
if (txd != NULL) {
|
|
|
|
if (direction & STREAM_TOSERVER) {
|
|
|
|
if (direction & STREAM_TOSERVER) {
|
|
|
@ -1156,6 +1157,7 @@ void FileDisableStoringForTransaction(Flow *f, const uint8_t direction, void *tx
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
/**
|
|
|
|
/**
|
|
|
|
* \brief flag a file with id "file_id" to be stored.
|
|
|
|
* \brief flag a file with id "file_id" to be stored.
|
|
|
|