summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
-rw-r--r--libs/httpd/luasrc/httpd/server.lua2
1 files changed, 1 insertions, 1 deletions
diff --git a/libs/httpd/luasrc/httpd/server.lua b/libs/httpd/luasrc/httpd/server.lua
index 2bb44bd02..2c415009e 100644
--- a/libs/httpd/luasrc/httpd/server.lua
+++ b/libs/httpd/luasrc/httpd/server.lua
@@ -124,7 +124,7 @@ function Server.create_client_sources(self, client)
or "Unexpected EOF"
-- Line ok
- else
+ elseif chunk ~= nil
-- Strip trailing CR
chunk = chunk:gsub("\r$","")