Ticket: #6163
That means that we can have rules matching different contents
on different headers.
DetectBufferTypeSetDescriptionByName("http_request_header", "HTTP header name and value");
g_http_request_header_buffer_id = DetectBufferTypeGetByName("http_request_header");
+ DetectBufferTypeSupportsMultiInstance("http_request_header");
}
static int DetectHTTPResponseHeaderSetup(DetectEngineCtx *de_ctx, Signature *s, const char *arg)
DetectBufferTypeSetDescriptionByName("http_response_header", "HTTP header name and value");
g_http_response_header_buffer_id = DetectBufferTypeGetByName("http_response_header");
+ DetectBufferTypeSupportsMultiInstance("http_response_header");
}
/************************************Unittests*********************************/