Profile profile(Http2Module::get_profile_stats());
Http2FlowData* session_data = (Http2FlowData*)flow->get_flow_data(Http2FlowData::inspector_id);
- // FIXIT-M - this assert has been changed to check for null session data and return false if so
- // due to lack of reliable feedback to stream that scan has been called...if that is
- // addressed in stream reassembly rewrite this can be reverted to an assert
- //assert(session_data != nullptr);
if (!session_data)
return false;
#ifdef REG_TEST
if (HttpTestManager::use_test_output(HttpTestManager::IN_HTTP2))
{
- if (!HttpTestManager::use_test_input(HttpTestManager::IN_HTTP2))
+ if (HttpTestManager::use_test_input(HttpTestManager::IN_HTTP2))
+ {
+ HttpTestManager::get_test_input_source()->finish();
+ }
+ else
{
printf("Finish from flow data %" PRIu64 " direction %d\n", session_data->seq_num,
source_id);
}
#endif
- // FIXIT-E not supported yet
- return false;
+ bool need_reassemble = false;
+
+ // Loop through all streams and call NHI finish()
+
+ return need_reassemble;
}
bool Http2StreamSplitter::init_partial_flush(Flow* flow)
Profile profile(HttpModule::get_profile_stats());
HttpFlowData* session_data = HttpInspect::http_get_flow_data(flow);
- // FIXIT-M - this assert has been changed to check for null session data and return false if so
- // due to lack of reliable feedback to stream that scan has been called...if that is
- // addressed in stream reassembly rewrite this can be reverted to an assert
- //assert(session_data != nullptr);
if(!session_data)
return false;
(session_data->cutter[source_id] == nullptr) &&
(session_data->section_type[source_id] == SEC__NOT_COMPUTE))
{
+ assert(!session_data->for_http2);
// Set up to process empty header section
uint32_t not_used;
prepare_flush(session_data, ¬_used, SEC_HEADER, 0, 0, 0, false, 0, 0);