summaryrefslogtreecommitdiffhomepage
path: root/collections
diff options
context:
space:
mode:
authorlisaac <lisaac.cn@gmail.com>2021-08-26 08:57:55 +0800
committerRen Zongjia <acooler15@foxmail.com>2021-11-16 16:20:08 +0800
commit54a55e8371efc3c5b3b91f32e2c01983af2e00f4 (patch)
tree32a55f10dc7ba86251d2cc7054a5861af8888fba /collections
parent75c6251c6eacf06888cac68d11b6197669c8a990 (diff)
luci-lib-docker: fix chunked decode
Signed-off-by: Ren Zongjia <acooler15@foxmail.com>
Diffstat (limited to 'collections')
-rw-r--r--collections/luci-lib-docker/luasrc/docker.lua2
1 files changed, 1 insertions, 1 deletions
diff --git a/collections/luci-lib-docker/luasrc/docker.lua b/collections/luci-lib-docker/luasrc/docker.lua
index cd9bf132d1..346b0ef235 100644
--- a/collections/luci-lib-docker/luasrc/docker.lua
+++ b/collections/luci-lib-docker/luasrc/docker.lua
@@ -21,7 +21,7 @@ local chunksource = function(sock, buffer)
local output
local _, endp, count = buffer:find("^([0-9a-fA-F]+)\r\n")
- if not count then
+ while not count do
local newblock, code = sock:recv(1024)
if not newblock then
return nil, code