Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit fc0186e

Browse files
committed
Minor update
1 parent 5dfd3ef commit fc0186e

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

lib/request/connect.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -538,7 +538,7 @@ def getPage(**kwargs):
538538
debugMsg = "got HTTP error code: %d (%s)" % (code, status)
539539
logger.debug(debugMsg)
540540

541-
except (urllib2.URLError, socket.error, socket.timeout, httplib.BadStatusLine, httplib.IncompleteRead, struct.error, ProxyError, SqlmapCompressionException), e:
541+
except (urllib2.URLError, socket.error, socket.timeout, httplib.BadStatusLine, httplib.IncompleteRead, httplib.ResponseNotReady, struct.error, ProxyError, SqlmapCompressionException), e:
542542
tbMsg = traceback.format_exc()
543543

544544
if "no host given" in tbMsg:

0 commit comments

Comments
 (0)