mirror of
https://github.com/sqlmapproject/sqlmap.git
synced 2026-08-03 22:31:34 +00:00
Fixes #4664
This commit is contained in:
parent
ff645a767b
commit
8bf1650d65
2 changed files with 3 additions and 3 deletions
4
thirdparty/keepalive/keepalive.py
vendored
4
thirdparty/keepalive/keepalive.py
vendored
|
|
@ -165,11 +165,11 @@ class ConnectionManager:
|
|||
|
||||
def get_ready_conn(self, host):
|
||||
conn = None
|
||||
self._lock.acquire()
|
||||
try:
|
||||
self._lock.acquire()
|
||||
if host in self._hostmap:
|
||||
for c in self._hostmap[host]:
|
||||
if self._readymap[c]:
|
||||
if self._readymap.get(c):
|
||||
self._readymap[c] = 0
|
||||
conn = c
|
||||
break
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue