Merge in SNORT/snort3 from ~OSTEPANO/snort3:appid_availability_without_navl to master
Squashed commit of the following:
commit
4649cdf312728e5d7b60648b9f154da43a268adf
Author: Oleksandr Stepanov <ostepano@cisco.com>
Date: Thu Nov 17 08:09:36 2022 -0500
appid: Make appid availability independent from TP state
if (service.get_id() == APP_ID_HTTP2 or service.get_id() == APP_ID_HTTP3)
return (get_payload_app_id(stream_index) != APP_ID_NONE);
else
- return ( (service.get_id() != APP_ID_NONE or
- payload.get_id() != APP_ID_NONE) and
- (asd->is_tp_appid_available() or
- asd->get_session_flags(APPID_SESSION_NO_TPI)) );
+ return (service.get_id() != APP_ID_NONE or
+ payload.get_id() != APP_ID_NONE);
}
const char* AppIdSessionApi::get_client_info(uint32_t stream_index) const