From: Philippe Antoine Date: Sun, 10 Oct 2021 20:17:48 +0000 (+0200) Subject: http2: enable by default, even if not in config X-Git-Tag: suricata-7.0.0-beta1~1296 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=53ef65d390839c76b20adf7d22ec5516c38abe83;p=thirdparty%2Fsuricata.git http2: enable by default, even if not in config --- diff --git a/src/app-layer-http2.c b/src/app-layer-http2.c index 22bd55eab7..ce0cdc8c2f 100644 --- a/src/app-layer-http2.c +++ b/src/app-layer-http2.c @@ -57,7 +57,7 @@ void RegisterHTTP2Parsers(void) { const char *proto_name = "http2"; - if (AppLayerProtoDetectConfProtoDetectionEnabledDefault("tcp", proto_name, false)) { + if (AppLayerProtoDetectConfProtoDetectionEnabledDefault("tcp", proto_name, true)) { AppLayerProtoDetectRegisterProtocol(ALPROTO_HTTP2, proto_name); if (HTTP2RegisterPatternsForProtocolDetection() < 0) return;