X-Git-Url: https://git.enpas.org/?a=blobdiff_plain;f=net%2Fhttpserver_listener.lua;h=dd14b43c9926f845197090edd8be626911757d0b;hb=0def9503bec8865e140a0db9188c08076e3e803c;hp=6933b4fe95f94a62683259414aa4cb28851a8d63;hpb=332ebda71d7fa4771a8222664b3b8bf341109432;p=prosody.git diff --git a/net/httpserver_listener.lua b/net/httpserver_listener.lua index 6933b4fe..dd14b43c 100644 --- a/net/httpserver_listener.lua +++ b/net/httpserver_listener.lua @@ -1,6 +1,6 @@ -- Prosody IM --- Copyright (C) 2008-2009 Matthew Wild --- Copyright (C) 2008-2009 Waqas Hussain +-- Copyright (C) 2008-2010 Matthew Wild +-- Copyright (C) 2008-2010 Waqas Hussain -- -- This project is MIT/X11 licensed. Please see the -- COPYING file in the source package for more information. @@ -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