mirror of
https://github.com/sqlmapproject/sqlmap.git
synced 2025-12-07 21:21:33 +00:00
Some more drei stuff
This commit is contained in:
4
thirdparty/keepalive/keepalive.py
vendored
4
thirdparty/keepalive/keepalive.py
vendored
@@ -113,7 +113,7 @@ except ImportError:
|
||||
from six.moves import urllib as _urllib
|
||||
|
||||
import socket
|
||||
import thread
|
||||
import threading
|
||||
|
||||
DEBUG = None
|
||||
|
||||
@@ -127,7 +127,7 @@ class ConnectionManager:
|
||||
* keep track of all existing
|
||||
"""
|
||||
def __init__(self):
|
||||
self._lock = thread.allocate_lock()
|
||||
self._lock = threading.Lock()
|
||||
self._hostmap = {} # map hosts to a list of connections
|
||||
self._connmap = {} # map connections to host
|
||||
self._readymap = {} # map connection to ready state
|
||||
|
||||
Reference in New Issue
Block a user