Entropy/Socket Interface:
- improve buffer handling reliability git-svn-id: http://svn.sabayonlinux.org/projects/entropy/trunk@1993 cd1c1023-2f26-0410-ae45-c471fc1f0318
This commit is contained in:
@@ -12090,7 +12090,7 @@ class SocketHostInterface:
|
||||
self.data_counter -= len(data)
|
||||
self.buffered_data += data
|
||||
while self.data_counter > 0:
|
||||
x += self.request.recv(4096)
|
||||
x = self.request.recv(4096)
|
||||
self.data_counter -= len(x)
|
||||
self.buffered_data += x
|
||||
self.data_counter = None
|
||||
|
||||
Reference in New Issue
Block a user