aboutsummaryrefslogtreecommitdiffstats
path: root/net
diff options
context:
space:
mode:
authorBrian Cully <bjc@kublai.com>2010-04-28 16:51:26 +0400
committerBrian Cully <bjc@kublai.com>2010-04-28 16:51:26 +0400
commitc9d2da2b2c17c4856588936ab484c1decc314fd9 (patch)
tree002d860075d827781cbcab6f28a591f4b7d7a054 /net
parent95e01d796f994eb9ffcb902b38dd1c17ca7c4c57 (diff)
downloadprosody-c9d2da2b2c17c4856588936ab484c1decc314fd9.tar.gz
prosody-c9d2da2b2c17c4856588936ab484c1decc314fd9.zip
net/httpserver_listener: Ignore empty strings on incoming data.
Diffstat (limited to 'net')
-rw-r--r--net/httpserver_listener.lua2
1 files changed, 1 insertions, 1 deletions
diff --git a/net/httpserver_listener.lua b/net/httpserver_listener.lua
index f673de77..d7d9b3dc 100644
--- a/net/httpserver_listener.lua
+++ b/net/httpserver_listener.lua
@@ -29,7 +29,7 @@ function httpserver.listener(conn, data)
end
end
- if data then
+ if data and data ~= "" then
request_reader(request, data);
end
end