diff options
author | Brian Cully <bjc@kublai.com> | 2010-04-28 16:51:26 +0400 |
---|---|---|
committer | Brian Cully <bjc@kublai.com> | 2010-04-28 16:51:26 +0400 |
commit | c9d2da2b2c17c4856588936ab484c1decc314fd9 (patch) | |
tree | 002d860075d827781cbcab6f28a591f4b7d7a054 | |
parent | 95e01d796f994eb9ffcb902b38dd1c17ca7c4c57 (diff) | |
download | prosody-c9d2da2b2c17c4856588936ab484c1decc314fd9.tar.gz prosody-c9d2da2b2c17c4856588936ab484c1decc314fd9.zip |
net/httpserver_listener: Ignore empty strings on incoming data.
-rw-r--r-- | net/httpserver_listener.lua | 2 |
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 |