Commits

William Pitcock committed 6ec325c

rpc_client: enlarge rpc buffer a lot

  • Participants
  • Parent commits 8ebfac4

Comments (0)

Files changed (1)

ediarpc/rpc_client.py

         sock = socket.create_connection((self._host, self._port))
         envelope = rpc_message.encode(self._secret, name, **kwargs) + '\r\n'
         sock.sendall(envelope)
-        response = sock.recv(4096)
+        response = sock.recv(131072)
         sock.close()
 
         return rpc_message.decode(self._secret, response, self._allow_untrusted)[1]