# HG changeset patch # User Laurent Bessard # Date 1361382386 -3600 # Node ID 41616a8c80a7195f91e1c7631c53ac89673be700 # Parent 45982ef9370bb41f32688f303a64d19ddedf653a Fixed bug in socket client not working properly when command length was too long diff -r 45982ef9370b -r 41616a8c80a7 LPCManager.py --- a/LPCManager.py Wed Feb 20 18:45:28 2013 +0100 +++ b/LPCManager.py Wed Feb 20 18:46:26 2013 +0100 @@ -1808,7 +1808,7 @@ def readline(self): idx = self.Buffer.find("\n") - if idx == -1: + while idx == -1: self.Buffer += self.socket.recv(2048) idx = self.Buffer.find("\n") if idx != -1: