Ticket: 7668
Test that it matches as soon as possible
--- /dev/null
+# Test Description
+
+Test HTTP1 request line matches on earliest packet possible
+
+## Related issue
+
+https://redmine.openinfosecfoundation.org/issues/7668
+
+## PCAP
+
+Reused from another test
--- /dev/null
+alert http1 any any -> any any (http.method; content:"GET"; alert; sid:1;)
--- /dev/null
+requires:
+ min-version: 7
+
+pcap: ../firewall/ruletype-firewall-31-retrans-of-drop/input.pcap
+
+args:
+ - --simulate-ips
+ - -k none
+
+checks:
+- filter:
+ count: 1
+ match:
+ event_type: alert
+ alert.signature_id: 1
+ pcap_cnt: 4
\ No newline at end of file