Fix files not fully saving

Thought this was for chunking, but nope
This commit is contained in:
Brandon Doornbos 2026-06-17 01:05:57 +02:00
parent d4a18e8ac7
commit 3b68f6895a

View file

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