]> git.ipfire.org Git - thirdparty/suricata.git/commitdiff
http2: do not have leading space for response line 10046/head 10055/head
authorPhilippe Antoine <pantoine@oisf.net>
Sun, 19 Nov 2023 19:28:28 +0000 (20:28 +0100)
committerPhilippe Antoine <pantoine@oisf.net>
Wed, 13 Dec 2023 19:22:48 +0000 (20:22 +0100)
Ticket: 6547
(cherry picked from commit 1b5e04bee3c8bb0469b53af0059ec86ce15f9b9c)

rust/src/http2/detect.rs

index 1c595a0cb0f82001d8231b2bda84a09ca1687218..53258b3aa7d8f25a02e8f9cf476f9082034f098b 100644 (file)
@@ -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)