mirror of
https://github.com/aaiyer/rfoo.git
synced 2025-06-01 06:00:58 +03:00
Connection.read() method fix
Removed an condition check that always failed and lead to IOException in server on every transaction.
This commit is contained in:
parent
d8d1ec544c
commit
16e1e417f5
@ -248,9 +248,6 @@ class Connection(object):
|
||||
raise EofError(len(buffer))
|
||||
buffer += data
|
||||
|
||||
if buffer[0] != INTEGER:
|
||||
raise IOError()
|
||||
|
||||
length = _loads(buffer)
|
||||
buffer = self.recv(length)
|
||||
while len(buffer) < length:
|
||||
|
Loading…
x
Reference in New Issue
Block a user