From 4f3a04a410dd33d640d7b9cc026fd987b1b97d96 Mon Sep 17 00:00:00 2001 From: Victor Julien Date: Sat, 13 Feb 2010 17:08:26 +0100 Subject: [PATCH] Disable htp cleanup code as I'm not yet convinced it does what it should. --- src/app-layer-htp.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/app-layer-htp.c b/src/app-layer-htp.c index 7e0b71ac22..5b49f4405a 100644 --- a/src/app-layer-htp.c +++ b/src/app-layer-htp.c @@ -512,7 +512,7 @@ static int HTPCallbackResponse(htp_connp_t *connp) { htp_tx_destroy(tx); } } - +#if 0 /* VJ disabled for now */ /* Clear the trasactions which are processed by the engine from libhtp. This helps in reducing the meory consumptions of libhtp */ while (list_size(hstate->connp->conn->transactions) > 0) { @@ -520,7 +520,7 @@ static int HTPCallbackResponse(htp_connp_t *connp) { if (tx != NULL) htp_tx_destroy(tx); } - +#endif SCReturnInt(0); }