mirror of
https://github.com/BOSWatch/BW3-Core.git
synced 2026-04-04 22:07:45 +00:00
improve client isConnected method
This commit is contained in:
parent
361afe2ff1
commit
3cd5a59bb5
2 changed files with 2 additions and 11 deletions
|
|
@ -55,9 +55,6 @@ class _ThreadedTCPRequestHandler(socketserver.BaseRequestHandler):
|
|||
length = int(header.decode("utf-8").strip())
|
||||
data = self.request.recv(length).decode("utf-8")
|
||||
|
||||
if data == "<alive>":
|
||||
continue
|
||||
|
||||
logging.debug("%s recv %d bytes:\n%s", req_name, length, pformat(data))
|
||||
|
||||
# add a new entry and the decoded data dict as an string in utf-8 and an timestamp
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue