Skip to content
Snippets Groups Projects
Commit 884ec0fd authored by Anders Blomdell's avatar Anders Blomdell
Browse files

Trying to find buffering deadlock

parent 1d659a6e
No related branches found
No related tags found
No related merge requests found
......@@ -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
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment