From 8eed90ca9d0d3103c90cb5530616df60cbddf732 Mon Sep 17 00:00:00 2001 From: Philippe Antoine Date: Tue, 2 Jun 2026 09:03:35 +0200 Subject: [PATCH] http2: global txs are unidirectional Ticket: 8518 Meaning they will now match only once per tx instead of twice: once for each direction --- rust/src/http2/http2.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/rust/src/http2/http2.rs b/rust/src/http2/http2.rs index a7eeeb641e..04379acad3 100644 --- a/rust/src/http2/http2.rs +++ b/rust/src/http2/http2.rs @@ -747,11 +747,11 @@ impl HTTP2State { return sid; } - fn create_global_tx(&mut self, _dir: Direction) -> &mut HTTP2Transaction { + fn create_global_tx(&mut self, dir: Direction) -> &mut HTTP2Transaction { //special transaction with only one frame //as it affects the global connection, there is no end to it let mut tx = HTTP2Transaction::new(); - //tx.tx_data = AppLayerTxData::for_direction(dir); + tx.tx_data = AppLayerTxData::for_direction(dir); self.tx_id += 1; tx.tx_id = self.tx_id; tx.progress_tc = HTTP2TxProgress::HTTP2ProgGlobal;