"Fossies" - the Fresh Open Source Software Archive  

Source code changes of the file "src/service_inspectors/http2_inspect/http2_stream_splitter.cc" between
snort3-3.1.28.0.tar.gz and snort3-3.1.29.0.tar.gz

About: Snort 3 is a network intrusion prevention and detection system (IDS/IPS) combining the benefits of signature, protocol and anomaly-based inspection.

http2_stream_splitter.cc  (snort3-3.1.28.0):http2_stream_splitter.cc  (snort3-3.1.29.0)
skipping to change at line 267 skipping to change at line 267
#endif #endif
} }
// Loop through all nonzero streams with open message bodies and call NHI fi nish() // Loop through all nonzero streams with open message bodies and call NHI fi nish()
for (const Http2Stream* stream : session_data->streams) for (const Http2Stream* stream : session_data->streams)
{ {
if ((stream->get_stream_id() == 0) || if ((stream->get_stream_id() == 0) ||
(stream->get_state(source_id) >= STREAM_COMPLETE) || (stream->get_state(source_id) >= STREAM_COMPLETE) ||
(stream->get_hi_flow_data() == nullptr) || (stream->get_hi_flow_data() == nullptr) ||
(stream->get_hi_flow_data()->get_type_expected(source_id) (stream->get_hi_flow_data()->get_type_expected(source_id)
!= HttpEnums::SEC_BODY_H2) || != SEC_BODY_H2) ||
(session_data->processing_partial_header && (session_data->processing_partial_header &&
(stream->get_stream_id() == session_data->current_stream[source_ id]))) (stream->get_stream_id() == session_data->current_stream[source_ id])))
{ {
continue; continue;
} }
session_data->stream_in_hi = stream->get_stream_id(); session_data->stream_in_hi = stream->get_stream_id();
if (session_data->hi_ss[source_id]->finish(flow)) if (session_data->hi_ss[source_id]->finish(flow))
{ {
assert(stream->get_stream_id() == session_data->current_stream[sourc e_id]); assert(stream->get_stream_id() == session_data->current_stream[sourc e_id]);
 End of changes. 1 change blocks. 
1 lines changed or deleted 1 lines changed or added

Home  |  About  |  Features  |  All  |  Newest  |  Dox  |  Diffs  |  RSS Feeds  |  Screenshots  |  Comments  |  Imprint  |  Privacy  |  HTTP(S)