Merge in SNORT/snort3 from ~VHORBATO/snort3:http_assert to master
Squashed commit of the following:
commit
03879b80307fc9c43f31f62cfb94cd88ffbdeb32
Author: vhorbato <vhorbato@cisco.com>
Date: Thu Apr 18 12:36:18 2024 +0300
detection: clear inspector data before flow_data
p->context->post_detection();
+ if ( inspected and !p->context->next() )
+ InspectorManager::clear(p);
+
// clear closed sessions here after inspection since non-stream
// inspectors may depend on flow information
// this also handles block pending state
if ( !p->has_parent() )
Stream::check_flow_closed(p);
- if ( inspected and !p->context->next() )
- InspectorManager::clear(p);
-
clear_events(p);
}