From: Daniil Kolomiiets -X (dkolomii - SOFTSERVE INC at Cisco) Date: Tue, 16 Sep 2025 21:54:34 +0000 (+0000) Subject: Pull request #4853: appid: fix http content processing X-Git-Tag: 3.9.6.0~21 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=062d7f0215d92d012bea85acebf8126dfe553a26;p=thirdparty%2Fsnort3.git Pull request #4853: appid: fix http content processing Merge in SNORT/snort3 from ~DKOLOMII/snort3:http_content_reinspect_fix to master Squashed commit of the following: commit 6f3ab2c866f6a2ea69454d23a59e54fe6b56c15a Author: Daniil Kolomiiets Date: Fri Aug 8 09:11:23 2025 -0400 appid: fix http content processing --- diff --git a/src/network_inspectors/appid/tp_appid_utils.cc b/src/network_inspectors/appid/tp_appid_utils.cc index 449cbfc76..ec2dfdae4 100644 --- a/src/network_inspectors/appid/tp_appid_utils.cc +++ b/src/network_inspectors/appid/tp_appid_utils.cc @@ -480,7 +480,7 @@ static inline void check_terminate_tp_module(AppIdSession& asd, uint16_t tpPktCo if ((tpPktCount >= asd.get_odp_ctxt().max_tp_flow_depth) || (asd.get_session_flags(APPID_SESSION_HTTP_SESSION | APPID_SESSION_APP_REINSPECT) == (APPID_SESSION_HTTP_SESSION | APPID_SESSION_APP_REINSPECT) && hsession && - hsession->get_field(REQ_URI_FID) && + hsession->get_field(REQ_URI_FID) && asd.is_tp_appid_done() && (!hsession->get_chp_candidate() || hsession->is_chp_finished()))) { if (asd.get_tp_app_id() == APP_ID_NONE)