mirror of
https://github.com/openwrt/luci
synced 2025-01-09 12:37:57 +08:00
Merge pull request #5520 from acooler15/luci-lib-docker
luci-lib-docker: fix chunked decode
This commit is contained in:
commit
4ade6bd04c
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user