From: Philippe Antoine Date: Thu, 26 Jun 2025 09:03:11 +0000 (+0200) Subject: http: do not yield after failed connect if already pipelined X-Git-Tag: suricata-8.0.0~10 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=refs%2Fpull%2F13557%2Fhead;p=thirdparty%2Fsuricata.git http: do not yield after failed connect if already pipelined Ticket: 7791 --- 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(()) }