41 static int DetectTransformStripPseudoHeadersSetup(
49 static void DetectTransformStripPseudoHeaders(
InspectionBuffer *buffer,
void *options)
51 const uint8_t *input = buffer->
inspect;
56 uint8_t output[input_len];
61 for (uint32_t i = 0; i < input_len; i++) {
63 if (input[i] ==
':') {
66 if (input[i] !=
'\r' && input[i] !=
'\n') {
70 if (input[i] ==
'\n') {
92 "modify buffer via stripping pseudo headers";
94 "/rules/transforms.html#strip_pseudo_headers";
96 DetectTransformStripPseudoHeaders;
98 DetectTransformStripPseudoHeadersSetup;