From ae53ad4c30f9a2749095c6fb43a7f7efd921a542 Mon Sep 17 00:00:00 2001 From: Miroslav Stampar Date: Mon, 28 Mar 2011 21:05:04 +0000 Subject: [PATCH] making an update for special case of timed out response --- lib/request/connect.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/request/connect.py b/lib/request/connect.py index 999243cfe..95bd80d12 100644 --- a/lib/request/connect.py +++ b/lib/request/connect.py @@ -342,7 +342,7 @@ class Connect: if "forcibly closed" in tbMsg: logger.critical(warnMsg) return None, None - elif silent or (ignoreTimeout and "timed out" in tbMsg): + elif silent or (ignoreTimeout and any(map(lambda x: x in tbMsg, ["timed out", "IncompleteRead"]))): return None, None elif kb.retriesCount < conf.retries and not kb.threadException and not conf.realTest: kb.retriesCount += 1