aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMatthew Wild <mwild1@gmail.com>2008-12-12 04:38:22 +0000
committerMatthew Wild <mwild1@gmail.com>2008-12-12 04:38:22 +0000
commit3f57f03f11e1200e116d1d6e681be0160175f6c8 (patch)
tree4d5eec837fb4add3ab9f25e75ec4f21d914e5a2d
parentd18299fec9e995407ae71e4a06bd0de7e3772872 (diff)
downloadprosody-3f57f03f11e1200e116d1d6e681be0160175f6c8.tar.gz
prosody-3f57f03f11e1200e116d1d6e681be0160175f6c8.zip
Oops, don't call server.loop() because we'll be running inside the server
-rw-r--r--net/http.lua3
1 files changed, 1 insertions, 2 deletions
diff --git a/net/http.lua b/net/http.lua
index 628290e8..e8a981b8 100644
--- a/net/http.lua
+++ b/net/http.lua
@@ -156,8 +156,7 @@ function request(u, callback, ex)
req.state = "status"
listener.register_request(req.handler, req);
-
- server.loop()
+
return req;
end