projects
/
project
/
luci.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
0d541a4
)
add sock::readall() to ensure the response body is complete
author
Yuzo
<hyzgog@gmail.com>
Thu, 22 Jan 2015 03:34:00 +0000
(11:34 +0800)
committer
Yuzo
<hyzgog@gmail.com>
Thu, 22 Jan 2015 03:34:00 +0000
(11:34 +0800)
libs/luci-lib-httpclient/luasrc/httpclient.lua
patch
|
blob
|
history
diff --git
a/libs/luci-lib-httpclient/luasrc/httpclient.lua
b/libs/luci-lib-httpclient/luasrc/httpclient.lua
index 94c2e9ecac34bf1cf86a6c447288d94667660309..c84a03b50a872ee11d714bffb5b5bab93dfee315 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
- return response.code, response, linesrc(true), sock
+ return response.code, response, linesrc(true)
..sock:readall()
, sock
end
function cookie_parse(cookiestr)