From f5844eabaee881c0334ac17b5387eef7d26c4011 Mon Sep 17 00:00:00 2001 From: Miroslav Stampar Date: Thu, 31 Jan 2013 13:32:14 +0100 Subject: [PATCH] Valuable data is potentially lost if page not parsed in dump mode (e.g. --technique=B and error occuring) <- partial revert of previous optimization commit 10bdd90e6032822bc7fa87996f99ed24ffd0fc8b --- lib/request/basic.py | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/lib/request/basic.py b/lib/request/basic.py index e9130fe7b..f9e94857d 100644 --- a/lib/request/basic.py +++ b/lib/request/basic.py @@ -256,8 +256,7 @@ def decodePage(page, contentEncoding, contentType): def processResponse(page, responseHeaders): kb.processResponseCounter += 1 - if not kb.dumpTable: - parseResponse(page, responseHeaders if kb.processResponseCounter < PARSE_HEADERS_LIMIT else None) + parseResponse(page, responseHeaders if kb.processResponseCounter < PARSE_HEADERS_LIMIT else None) if conf.parseErrors: msg = extractErrorMessage(page)