This commit is contained in:
mofeng-git 2025-01-05 11:04:01 +00:00
parent 10d6a62c9d
commit 4f5daebf93
2 changed files with 2 additions and 1 deletions

1
.gitignore vendored
View File

@ -29,3 +29,4 @@ kvmd-launcher.build
kvmd-launcher.dist
kvmd-launcher.onefile-build
ustreamer/
node_modules/

View File

@ -336,7 +336,7 @@ class KvmdServer(HttpServer): # pylint: disable=too-many-arguments,too-many-ins
response = StreamResponse(status=resp.status, reason=resp.reason, headers=resp.headers)
await response.prepare(request)
while True:
chunk = await resp.content.read(512000)
chunk = await resp.content.read(32768)
if not chunk:
break
await response.write(chunk)