]> git.ipfire.org Git - people/ms/suricata.git/commitdiff
http2: enable by default, even if not in config
authorPhilippe Antoine <contact@catenacyber.fr>
Sun, 10 Oct 2021 20:17:48 +0000 (22:17 +0200)
committerPhilippe Antoine <contact@catenacyber.fr>
Sun, 10 Oct 2021 20:17:48 +0000 (22:17 +0200)
src/app-layer-http2.c

index 22bd55eab7c531fb8a1616cec8a50e22f70b0c40..ce0cdc8c2fd01892e7f7301131909c721ed1cbb5 100644 (file)
@@ -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;