]> git.ipfire.org Git - thirdparty/suricata.git/commitdiff
http: do not yield after failed connect if already pipelined 13557/head
authorPhilippe Antoine <pantoine@oisf.net>
Thu, 26 Jun 2025 09:03:11 +0000 (11:03 +0200)
committerVictor Julien <victor@inliniac.net>
Mon, 30 Jun 2025 18:45:00 +0000 (20:45 +0200)
Ticket: 7791

rust/htp/src/connection_parser.rs

index d92ebe2b3525524a19197bb9271e1c0b269066f4..78f1bf099d44110d75299072a34a92a2b081a78b 100644 (file)
@@ -939,7 +939,9 @@ impl ConnectionParser {
         if self.response_data_other_at_tx_end {
             // We do. Let's yield then.
             self.response_data_other_at_tx_end = false;
-            return Err(HtpStatus::DATA_OTHER);
+            if self.response_index() == self.request_index() {
+                return Err(HtpStatus::DATA_OTHER);
+            }
         }
         Ok(())
     }