From 99d5dc3d2af14478e3dcb538847de2f2d9dfa1bc Mon Sep 17 00:00:00 2001 From: Victor Julien Date: Fri, 26 Mar 2010 11:25:50 +0100 Subject: [PATCH] Don't scan more cookie headers than necessary. --- src/detect-http-cookie.c | 1 + 1 file changed, 1 insertion(+) diff --git a/src/detect-http-cookie.c b/src/detect-http-cookie.c index bbaed13f0d..280fedd70b 100644 --- a/src/detect-http-cookie.c +++ b/src/detect-http-cookie.c @@ -124,6 +124,7 @@ int DetectHttpCookieMatch (ThreadVars *t, DetectEngineThreadCtx *det_ctx, SCLogDebug("match has been found in received request and given http_" "cookie rule"); ret = 1; + goto end; } }