projects
/
prosody.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Merge hoelzro->trunk
[prosody.git]
/
net
/
httpserver_listener.lua
diff --git
a/net/httpserver_listener.lua
b/net/httpserver_listener.lua
index 6933b4fe95f94a62683259414aa4cb28851a8d63..dd14b43c9926f845197090edd8be626911757d0b 100644
(file)
--- a/
net/httpserver_listener.lua
+++ b/
net/httpserver_listener.lua
@@
-1,6
+1,6
@@
-- Prosody IM
-- Prosody IM
--- Copyright (C) 2008-20
09
Matthew Wild
--- Copyright (C) 2008-20
09
Waqas Hussain
+-- Copyright (C) 2008-20
10
Matthew Wild
+-- Copyright (C) 2008-20
10
Waqas Hussain
--
-- This project is MIT/X11 licensed. Please see the
-- COPYING file in the source package for more information.
--
-- 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
end
end
- if data then
+ if data
and data ~= ""
then
request_reader(request, data);
end
end
request_reader(request, data);
end
end