aboutsummaryrefslogtreecommitdiffstats
path: root/net/http
diff options
context:
space:
mode:
authorMatthew Wild <mwild1@gmail.com>2012-04-26 16:25:11 +0100
committerMatthew Wild <mwild1@gmail.com>2012-04-26 16:25:11 +0100
commitec56b1a798e4a91ce5beaeeeee5d45847cd38a31 (patch)
tree774adc89ca2a37109ecf11f0df5347d70a7d2132 /net/http
parent99e8f3cff54ce9238756023e682e96d59bdde4ae (diff)
downloadprosody-ec56b1a798e4a91ce5beaeeeee5d45847cd38a31.tar.gz
prosody-ec56b1a798e4a91ce5beaeeeee5d45847cd38a31.zip
Revert 98bfebb38705, moved to net.http.parser in 4fc99f1b7570
Diffstat (limited to 'net/http')
-rw-r--r--net/http/server.lua4
1 files changed, 0 insertions, 4 deletions
diff --git a/net/http/server.lua b/net/http/server.lua
index 4f9e1463..d6c3a03a 100644
--- a/net/http/server.lua
+++ b/net/http/server.lua
@@ -1,7 +1,6 @@
local t_insert, t_remove, t_concat = table.insert, table.remove, table.concat;
local parser_new = require "net.http.parser".new;
-local url_parse = require "socket.url".parse;
local events = require "util.events".new();
local addserver = require "net.server".addserver;
local log = require "util.logger".init("http.server");
@@ -102,9 +101,6 @@ function listener.onconnect(conn)
local function success_cb(request)
--log("debug", "success_cb: %s", request.path);
request.secure = secure;
- local parsed_dest = url_parse(request.path);
- request.url = parsed_dest;
- request.path = parsed_dest.path;
t_insert(pending, request);
if not waiting then
process_next();