detect: http.response_body for HTTP2

Already using the file.data logic

Ticket: #4067
pull/8879/head
Philippe Antoine 2 years ago committed by Victor Julien
parent 5391f0a8a0
commit 6b32bc459b

@ -126,7 +126,7 @@ static int DetectHttpServerBodySetupSticky(DetectEngineCtx *de_ctx, Signature *s
{
if (DetectBufferSetActiveList(de_ctx, s, g_file_data_buffer_id) < 0)
return -1;
if (DetectSignatureSetAppProto(s, ALPROTO_HTTP1) < 0)
if (DetectSignatureSetAppProto(s, ALPROTO_HTTP) < 0)
return -1;
return 0;
}

Loading…
Cancel
Save