X-Git-Url: http://git.archive.openwrt.org/?p=project%2Fluci.git;a=blobdiff_plain;f=modules%2Fbase%2Fluasrc%2Fhttp%2Fprotocol.lua;h=6431b04031ed6917b86b4ec19a37dbfa124a1f64;hp=0d41550b23709029935b6aec1a2136febec0d587;hb=65d42ae75aeab63049106a775fb2153984242235;hpb=f81be49ae756dab82e1758a6c9de145f0d36960e 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