mirror of
https://github.com/gnh1201/caterpillar.git
synced 2024-11-26 07:21:46 +00:00
Update server.py
This commit is contained in:
parent
50265ad56b
commit
943ff478aa
|
@ -140,8 +140,8 @@ def conn_string(conn: socket.socket, data: bytes, addr: bytes):
|
|||
return False
|
||||
|
||||
# debugging
|
||||
logger.debug("@", addr)
|
||||
logger.debug(">", data)
|
||||
logger.debug("@ " + str(addr))
|
||||
logger.debug("> " + str(data))
|
||||
|
||||
# JSON-RPC 2.0 request over Socket (stateful)
|
||||
if data.find(b"{") == 0 and process_jsonrpc2(data):
|
||||
|
|
Loading…
Reference in New Issue
Block a user