http_msg_body_h2.cc (snort3-3.1.28.0) | : | http_msg_body_h2.cc (snort3-3.1.29.0) | ||
---|---|---|---|---|
skipping to change at line 26 | skipping to change at line 26 | |||
// 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. | // 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. | |||
//-------------------------------------------------------------------------- | //-------------------------------------------------------------------------- | |||
// http_msg_body_h2.cc author Katura Harvey <katharve@cisco.com> | // http_msg_body_h2.cc author Katura Harvey <katharve@cisco.com> | |||
#ifdef HAVE_CONFIG_H | #ifdef HAVE_CONFIG_H | |||
#include "config.h" | #include "config.h" | |||
#endif | #endif | |||
#include "http_msg_body_h2.h" | #include "http_msg_body_h2.h" | |||
using namespace HttpEnums; | using namespace HttpCommon; | |||
void HttpMsgBodyH2::update_flow() | void HttpMsgBodyH2::update_flow() | |||
{ | { | |||
session_data->body_octets[source_id] = body_octets; | session_data->body_octets[source_id] = body_octets; | |||
if (session_data->h2_body_state[source_id] == H2_BODY_NOT_COMPLETE || | if (session_data->h2_body_state[source_id] == H2_BODY_NOT_COMPLETE || | |||
session_data->h2_body_state[source_id] == H2_BODY_LAST_SEG) | session_data->h2_body_state[source_id] == H2_BODY_LAST_SEG) | |||
update_depth(); | update_depth(); | |||
else if (session_data->h2_body_state[source_id] == H2_BODY_COMPLETE_EXPECT_T RAILERS) | else if (session_data->h2_body_state[source_id] == H2_BODY_COMPLETE_EXPECT_T RAILERS) | |||
session_data->trailer_prep(source_id); | session_data->trailer_prep(source_id); | |||
} | } | |||
End of changes. 1 change blocks. | ||||
1 lines changed or deleted | 1 lines changed or added |