Commit 884ec0fd authored by Anders Blomdell's avatar Anders Blomdell
Browse files

Trying to find buffering deadlock

parent 1d659a6e
......@@ -122,6 +122,7 @@ class Server:
pos = buf.find(b'\x00')
if pos == -1:
tmp = f.read(4096)
print('Got:', len(tmp), file=sys.stderr)
if len(tmp) == 0:
if len(buf) == 0:
return
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment