aboutsummaryrefslogtreecommitdiffstats
path: root/net
diff options
context:
space:
mode:
authorMatthew Wild <mwild1@gmail.com>2010-05-18 00:47:06 +0100
committerMatthew Wild <mwild1@gmail.com>2010-05-18 00:47:06 +0100
commite7abee25d8a3175fa14a02b21ba9c14c54e9fcef (patch)
treed3de45bf9d8a085f149e5e7e8f6d950b3771634e /net
parent08ace7b7890a0c19a5cd5cf155df25e95d47e44a (diff)
parentc9d2da2b2c17c4856588936ab484c1decc314fd9 (diff)
downloadprosody-e7abee25d8a3175fa14a02b21ba9c14c54e9fcef.tar.gz
prosody-e7abee25d8a3175fa14a02b21ba9c14c54e9fcef.zip
Merge 0.6->0.7
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 84016033..dd14b43c 100644
--- a/net/httpserver_listener.lua
+++ b/net/httpserver_listener.lua
@@ -29,7 +29,7 @@ function httpserver.onincoming(conn, data)
end
end
- if data then
+ if data and data ~= "" then
request_reader(request, data);
end
end