http2: enable by default, even if not in config

pull/6468/head
Philippe Antoine 4 years ago
parent 424dcda2c0
commit 53ef65d390

@ -57,7 +57,7 @@ void RegisterHTTP2Parsers(void)
{ {
const char *proto_name = "http2"; const char *proto_name = "http2";
if (AppLayerProtoDetectConfProtoDetectionEnabledDefault("tcp", proto_name, false)) { if (AppLayerProtoDetectConfProtoDetectionEnabledDefault("tcp", proto_name, true)) {
AppLayerProtoDetectRegisterProtocol(ALPROTO_HTTP2, proto_name); AppLayerProtoDetectRegisterProtocol(ALPROTO_HTTP2, proto_name);
if (HTTP2RegisterPatternsForProtocolDetection() < 0) if (HTTP2RegisterPatternsForProtocolDetection() < 0)
return; return;

Loading…
Cancel
Save