mirror of
https://github.com/sqlmapproject/sqlmap.git
synced 2026-08-03 22:31:34 +00:00
minor speed optimizations (as a result of profiling)
This commit is contained in:
parent
36280b33fa
commit
10bdd90e60
5 changed files with 11 additions and 6 deletions
|
|
@ -419,7 +419,7 @@ class Connect:
|
|||
else:
|
||||
debugMsg = "got HTTP error code: %d (%s)" % (code, status)
|
||||
logger.debug(debugMsg)
|
||||
page = processResponse(page, responseHeaders)
|
||||
processResponse(page, responseHeaders)
|
||||
return page, responseHeaders
|
||||
|
||||
except (urllib2.URLError, socket.error, socket.timeout, httplib.BadStatusLine, httplib.IncompleteRead), e:
|
||||
|
|
@ -465,7 +465,7 @@ class Connect:
|
|||
finally:
|
||||
socket.setdefaulttimeout(conf.timeout)
|
||||
|
||||
page = processResponse(page, responseHeaders)
|
||||
processResponse(page, responseHeaders)
|
||||
|
||||
responseMsg += "[#%d] (%d %s):\n" % (threadData.lastRequestUID, code, status)
|
||||
if responseHeaders:
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue