Commits

William Pitcock committed b042446

rpc_server: ensure the envelope is terminated with newline on replies.

  • Participants
  • Parent commits b4b5f00

Comments (0)

Files changed (1)

File ediarpc/rpc_server.py

             line = self.rfile.readline()
             if not line:
                 break
-            response = self.server.dispatch(line)
+            response = self.server.dispatch(line) + '\r\n'
             self.wfile.write(response)
 
 class RPCServer(SocketServer.TCPServer, RPCRequestHandler):