summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorPaul Donald <newtwen@gmail.com>2023-12-04 02:38:32 +0100
committerGitHub <noreply@github.com>2023-12-04 02:38:32 +0100
commit4ade6bd04c6fb29203ade9cb44ecd37ab465a2d6 (patch)
treed54b4cf488b0806191659d01a879552ee0fb995f
parent1731fe12b512e10b9c061114d348cd4872422c7a (diff)
parent54a55e8371efc3c5b3b91f32e2c01983af2e00f4 (diff)
Merge pull request #5520 from acooler15/luci-lib-docker
luci-lib-docker: fix chunked decode
-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