diff options
author | Jo-Philipp Wich <jow@openwrt.org> | 2014-11-22 19:21:26 +0100 |
---|---|---|
committer | Jo-Philipp Wich <jow@openwrt.org> | 2014-11-22 19:21:26 +0100 |
commit | df61ddaf87170e3c7d419133dc616b2b3df13690 (patch) | |
tree | 96bd9cd9ccf0470aeb65aba6b5c1e490af1e2a8a | |
parent | f81be49ae756dab82e1758a6c9de145f0d36960e (diff) | |
parent | 65d42ae75aeab63049106a775fb2153984242235 (diff) |
Merge pull request #258 from remakeelectric/accept-multi-chunk-post
luci.http.protocol: Allow posts to contain more than a single chunk
-rw-r--r-- | modules/base/luasrc/http/protocol.lua | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/base/luasrc/http/protocol.lua b/modules/base/luasrc/http/protocol.lua index 0d41550b2..6431b0403 100644 --- 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 |