mirror of
https://github.com/sqlmapproject/sqlmap.git
synced 2025-03-03 19:55:47 +03:00
important bug fix (connection exception was causing losing of already retrieved data)
This commit is contained in:
parent
9d31322f3d
commit
54bcc35ba7
|
@ -96,6 +96,7 @@ def runThreads(numThreads, threadFunction, cleanupFunction=None, forwardExceptio
|
|||
warnMsg = "running in a single-thread mode. This could take a while."
|
||||
logger.warn(warnMsg)
|
||||
|
||||
try:
|
||||
if numThreads > 1:
|
||||
if startThreadMsg:
|
||||
infoMsg = "starting %d threads" % numThreads
|
||||
|
@ -124,7 +125,6 @@ def runThreads(numThreads, threadFunction, cleanupFunction=None, forwardExceptio
|
|||
threads.append(thread)
|
||||
|
||||
# And wait for them to all finish
|
||||
try:
|
||||
alive = True
|
||||
while alive:
|
||||
alive = False
|
||||
|
|
Loading…
Reference in New Issue
Block a user