mirror of
https://github.com/gnh1201/caterpillar.git
synced 2025-09-05 17:31:03 +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
|
return False
|
||||||
|
|
||||||
# debugging
|
# debugging
|
||||||
logger.debug("@", addr)
|
logger.debug("@ " + str(addr))
|
||||||
logger.debug(">", data)
|
logger.debug("> " + str(data))
|
||||||
|
|
||||||
# JSON-RPC 2.0 request over Socket (stateful)
|
# JSON-RPC 2.0 request over Socket (stateful)
|
||||||
if data.find(b"{") == 0 and process_jsonrpc2(data):
|
if data.find(b"{") == 0 and process_jsonrpc2(data):
|
||||||
|
|
Loading…
Reference in New Issue
Block a user