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,7 +1031,8 @@ def _setSocketPreConnect():
|
||||||
if len(socket._ready[address]) < SOCKET_PRE_CONNECT_QUEUE_SIZE:
|
if len(socket._ready[address]) < SOCKET_PRE_CONNECT_QUEUE_SIZE:
|
||||||
s = socket.socket()
|
s = socket.socket()
|
||||||
s._connect(address)
|
s._connect(address)
|
||||||
socket._ready[address].append(s._sock)
|
with kb.locks.socket:
|
||||||
|
socket._ready[address].append(s._sock)
|
||||||
except socket.error:
|
except socket.error:
|
||||||
pass
|
pass
|
||||||
finally:
|
finally:
|
||||||
|
|
Loading…
Reference in New Issue
Block a user