From fc0186e0291090fba6e010b84928985678ba06ee Mon Sep 17 00:00:00 2001 From: Miroslav Stampar Date: Thu, 26 Mar 2015 12:39:44 +0100 Subject: [PATCH] Minor update --- 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 677decdc5..31f81315f 100644 --- a/lib/request/connect.py +++ b/lib/request/connect.py @@ -538,7 +538,7 @@ class Connect(object): debugMsg = "got HTTP error code: %d (%s)" % (code, status) logger.debug(debugMsg) - except (urllib2.URLError, socket.error, socket.timeout, httplib.BadStatusLine, httplib.IncompleteRead, struct.error, ProxyError, SqlmapCompressionException), e: + except (urllib2.URLError, socket.error, socket.timeout, httplib.BadStatusLine, httplib.IncompleteRead, httplib.ResponseNotReady, struct.error, ProxyError, SqlmapCompressionException), e: tbMsg = traceback.format_exc() if "no host given" in tbMsg: