Changeset

3046:92173d8a35d3

net/httpserver_listener: Ignore empty strings on incoming data.
author Brian Cully <bjc@kublai.com>
date Wed, 28 Apr 2010 16:52:06 +0400
parents 3042:b1961f6c9853
children 3047:820ae39e06de 3050:76f0d653b347
files net/httpserver_listener.lua
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/net/httpserver_listener.lua	Mon May 17 11:49:24 2010 +0100
+++ b/net/httpserver_listener.lua	Wed Apr 28 16:52:06 2010 +0400
@@ -29,7 +29,7 @@
 		end
 	end
 
-	if data then
+	if data and data ~= "" then
 		request_reader(request, data);
 	end
 end