summaryrefslogtreecommitdiffhomepage
path: root/modules/base/luasrc
diff options
context:
space:
mode:
Diffstat (limited to 'modules/base/luasrc')
-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 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