Packet* p = DetectionEngine::get_current_packet();
assert(p);
auto direction = event_type == REQUEST_EVENT ? APP_ID_FROM_INITIATOR : APP_ID_FROM_RESPONDER;
+ bool is_debug_active = false;
if ( !asd )
{
if ( appidDebug->is_active() )
LogMessage("AppIdDbg %s New AppId session at HTTP event\n",
appidDebug->get_debug_session());
+ is_debug_active = true;
}
}
else if ( asd->get_odp_ctxt_version() != pkt_thread_odp_ctxt->get_version() )
!http_event->get_is_http2())
return;
+ if (appidDebug->is_enabled() and !is_debug_active)
+ appidDebug->activate(flow, asd, inspector.get_ctxt().config.log_all_sessions);
+
if (appidDebug->is_active())
LogMessage("AppIdDbg %s Processing HTTP metadata from HTTP Inspector for stream %u\n",
appidDebug->get_debug_session(), http_event->get_http2_stream_id());