forked from p15670423/monkey
Agent: Pass keep_tunnel_open timeout as new_client_timeout
This commit is contained in:
parent
67893b7825
commit
a01785838d
|
@ -23,7 +23,10 @@ class TCPRelay(Thread, InterruptableThreadMixin):
|
|||
dest_port: int,
|
||||
client_disconnect_timeout: float,
|
||||
):
|
||||
self._user_handler = RelayUserHandler(client_disconnect_timeout=client_disconnect_timeout)
|
||||
self._user_handler = RelayUserHandler(
|
||||
new_client_timeout=client_disconnect_timeout,
|
||||
client_disconnect_timeout=client_disconnect_timeout,
|
||||
)
|
||||
self._pipe_spawner = TCPPipeSpawner(dest_addr, dest_port)
|
||||
relay_filter = RelayConnectionHandler(self._pipe_spawner, self._user_handler)
|
||||
self._connection_handler = TCPConnectionHandler(
|
||||
|
|
Loading…
Reference in New Issue