mirror of
https://github.com/mofeng-git/One-KVM.git
synced 2025-12-11 16:50:28 +08:00
更新
This commit is contained in:
parent
10d6a62c9d
commit
4f5daebf93
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)
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user