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