mirror of
https://github.com/mofeng-git/One-KVM.git
synced 2026-01-28 08:31:52 +08:00
更新
This commit is contained in:
1
.gitignore
vendored
1
.gitignore
vendored
@@ -29,3 +29,4 @@ kvmd-launcher.build
|
||||
kvmd-launcher.dist
|
||||
kvmd-launcher.onefile-build
|
||||
ustreamer/
|
||||
node_modules/
|
||||
|
||||
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user