mirror of
https://github.com/openwrt/luci.git
synced 2025-12-22 01:44:35 +04:00
add sock::readall() to ensure the response body is complete
This commit is contained in:
@@ -323,7 +323,7 @@ function request_raw(uri, options)
|
|||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
||||||
return response.code, response, linesrc(true), sock
|
return response.code, response, linesrc(true)..sock:readall(), sock
|
||||||
end
|
end
|
||||||
|
|
||||||
function cookie_parse(cookiestr)
|
function cookie_parse(cookiestr)
|
||||||
|
|||||||
Reference in New Issue
Block a user