From 1b5e04bee3c8bb0469b53af0059ec86ce15f9b9c Mon Sep 17 00:00:00 2001 From: Philippe Antoine Date: Sun, 19 Nov 2023 20:28:28 +0100 Subject: [PATCH] http2: do not have leading space for response line Ticket: 6547 --- rust/src/http2/detect.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/rust/src/http2/detect.rs b/rust/src/http2/detect.rs index 1c595a0cb0..53258b3aa7 100644 --- a/rust/src/http2/detect.rs +++ b/rust/src/http2/detect.rs @@ -545,7 +545,7 @@ fn http2_tx_get_resp_line(tx: &mut HTTP2Transaction) { } else { &empty }; - resp_line.extend(b" HTTP/2 "); + resp_line.extend(b"HTTP/2 "); resp_line.extend(status); resp_line.extend(b"\r\n"); tx.resp_line.extend(resp_line) -- 2.47.2