projects
/
project
/
luci.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
add sock::readall() to ensure the response body is complete
[project/luci.git]
/
libs
/
luci-lib-httpclient
/
luasrc
/
httpclient.lua
diff --git
a/libs/luci-lib-httpclient/luasrc/httpclient.lua
b/libs/luci-lib-httpclient/luasrc/httpclient.lua
index
94c2e9e
..
c84a03b
100644
(file)
--- a/
libs/luci-lib-httpclient/luasrc/httpclient.lua
+++ b/
libs/luci-lib-httpclient/luasrc/httpclient.lua
@@
-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
function cookie_parse(cookiestr)
end
function cookie_parse(cookiestr)