projects
/
project
/
luci.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
(from parent 1:
f81be49
)
Merge pull request #258 from remakeelectric/accept-multi-chunk-post
author
Jo-Philipp Wich
<jow@openwrt.org>
Sat, 22 Nov 2014 18:21:26 +0000
(19:21 +0100)
committer
Jo-Philipp Wich
<jow@openwrt.org>
Sat, 22 Nov 2014 18:21:26 +0000
(19:21 +0100)
luci.http.protocol: Allow posts to contain more than a single chunk
modules/base/luasrc/http/protocol.lua
patch
|
blob
|
history
diff --git
a/modules/base/luasrc/http/protocol.lua
b/modules/base/luasrc/http/protocol.lua
index
0d41550
..
6431b04
100644
(file)
--- a/
modules/base/luasrc/http/protocol.lua
+++ b/
modules/base/luasrc/http/protocol.lua
@@
-658,7
+658,7
@@
function parse_message_body( src, msg, filecb )
if not ok and err then
return nil, err
- elseif not
err then
+ elseif not
ok then -- eof
return true
end
end