mirror of
https://github.com/openwrt/luci.git
synced 2025-12-21 23:34:34 +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
|
||||
|
||||
return response.code, response, linesrc(true), sock
|
||||
return response.code, response, linesrc(true)..sock:readall(), sock
|
||||
end
|
||||
|
||||
function cookie_parse(cookiestr)
|
||||
|
||||
Reference in New Issue
Block a user