From: Philippe Antoine Date: Sun, 19 Nov 2023 19:28:28 +0000 (+0100) Subject: http2: do not have leading space for response line X-Git-Tag: suricata-8.0.0-beta1~1939 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=1b5e04bee3c8bb0469b53af0059ec86ce15f9b9c;p=thirdparty%2Fsuricata.git http2: do not have leading space for response line Ticket: 6547 --- 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)