mirror of
https://github.com/sqlmapproject/sqlmap.git
synced 2024-11-25 19:13:48 +03:00
Minor just in case patch
This commit is contained in:
parent
5be0a83e94
commit
fd2908336a
|
@ -1031,7 +1031,8 @@ def _setSocketPreConnect():
|
|||
if len(socket._ready[address]) < SOCKET_PRE_CONNECT_QUEUE_SIZE:
|
||||
s = socket.socket()
|
||||
s._connect(address)
|
||||
socket._ready[address].append(s._sock)
|
||||
with kb.locks.socket:
|
||||
socket._ready[address].append(s._sock)
|
||||
except socket.error:
|
||||
pass
|
||||
finally:
|
||||
|
|
Loading…
Reference in New Issue
Block a user