Agent: Fix host/port initialization in TCPConnectionHandler
This commit is contained in:
parent
17356ca079
commit
7edb15d825
|
@ -16,8 +16,8 @@ class TCPConnectionHandler(Thread, InterruptableThreadMixin):
|
|||
bind_port: int,
|
||||
client_connected: List[Callable[[socket.socket], None]] = [],
|
||||
):
|
||||
self.local_port = bind_port
|
||||
self.local_host = bind_host
|
||||
self.bind_host = bind_host
|
||||
self.bind_port = bind_port
|
||||
self._client_connected = client_connected
|
||||
super().__init__(name="TCPConnectionHandler", daemon=True)
|
||||
|
||||
|
|
Loading…
Reference in New Issue