live

1 parent e5501263
...@@ -117,6 +117,7 @@ class CommonConnection(Log): ...@@ -117,6 +117,7 @@ class CommonConnection(Log):
self.log_info(msg) self.log_info(msg)
def log_timeout(self): def log_timeout(self):
self.log_error("DBUG > COmmond")
self.log_close('timeout') self.log_close('timeout')
def log_raw_to_iso(self, raw): def log_raw_to_iso(self, raw):
...@@ -231,6 +232,7 @@ class Client(BaseClient, CommonConnection): ...@@ -231,6 +232,7 @@ class Client(BaseClient, CommonConnection):
CommonConnection.process(self, raw) CommonConnection.process(self, raw)
def close_because_timeout(self): def close_because_timeout(self):
self.log_error("DEBUG -> CLIENT")
self.log_timeout() self.log_timeout()
BaseClient.close_because_timeout(self) BaseClient.close_because_timeout(self)
...@@ -357,7 +359,6 @@ def conn_by_name(name): ...@@ -357,7 +359,6 @@ def conn_by_name(name):
found_conn = None found_conn = None
for ip_port, conn in conn_mgr: for ip_port, conn in conn_mgr:
ip, port = ip_port.split(':') ip, port = ip_port.split(':')
print("DEBUG>>", ip, port, conf['ip'])
if conf['ip'] != ip: if conf['ip'] != ip:
continue continue
port = int(port) port = int(port)
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!