summaryrefslogtreecommitdiffhomepage
path: root/modules/base/luasrc/http/protocol.lua
diff options
context:
space:
mode:
Diffstat (limited to 'modules/base/luasrc/http/protocol.lua')
-rw-r--r--modules/base/luasrc/http/protocol.lua2
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/base/luasrc/http/protocol.lua b/modules/base/luasrc/http/protocol.lua
index 0d41550b23..6431b04031 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