From 1940454a6991fcf927373a12a94ad8db6494c262 Mon Sep 17 00:00:00 2001 From: Philippe Antoine Date: Thu, 26 Jun 2025 11:03:11 +0200 Subject: [PATCH] http: do not yield after failed connect if already pipelined Ticket: 7791 --- rust/htp/src/connection_parser.rs | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/rust/htp/src/connection_parser.rs b/rust/htp/src/connection_parser.rs index d92ebe2b35..78f1bf099d 100644 --- a/rust/htp/src/connection_parser.rs +++ b/rust/htp/src/connection_parser.rs @@ -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(()) } -- 2.47.2