This commit is contained in:
ed
2022-09-25 14:36:10 +02:00
parent 4f4f106c48
commit e00e80ae39
4 changed files with 108 additions and 4 deletions

View File

@@ -713,7 +713,7 @@ class HttpCli(object):
buf = b""
for rbuf in reader:
buf += rbuf
if len(buf) > 32768:
if not rbuf or len(buf) >= 32768:
break
if buf: