]> git.ipfire.org Git - thirdparty/snort3.git/commitdiff
Merge pull request #1900 in SNORT/snort3 from ~THOPETER/snort3:h2i_remove_file_data...
authorMike Stepanek (mstepane) <mstepane@cisco.com>
Mon, 23 Dec 2019 13:24:22 +0000 (13:24 +0000)
committerMike Stepanek (mstepane) <mstepane@cisco.com>
Mon, 23 Dec 2019 13:24:22 +0000 (13:24 +0000)
Squashed commit of the following:

commit 784c640f93cfb669d2f06112aece95a5d26fe044
Author: Tom Peters <thopeter@cisco.com>
Date:   Thu Dec 19 18:10:58 2019 -0500

    http2_inspect: frame data no longer in file_data

src/service_inspectors/http2_inspect/http2_frame.cc

index 5f69a93d67646c4b15f3b30342a2f9e200ef4c11..ee0ea9c69d6b17d69814da0abccc74ed9251f17f 100644 (file)
@@ -23,7 +23,6 @@
 
 #include "http2_frame.h"
 
-#include "detection/detection_engine.h"
 #include "http2_enum.h"
 #include "http2_flow_data.h"
 #include "http2_headers_frame.h"
@@ -43,7 +42,6 @@ Http2Frame::Http2Frame(const uint8_t* header_buffer, const int32_t header_len,
     if (data_len > 0)
     {
         data.set(data_len, data_buffer, true);
-        set_file_data(data.start(), data.length());
     }
 }