aboutsummaryrefslogtreecommitdiffstats
path: root/net
diff options
context:
space:
mode:
authorWaqas Hussain <waqas20@gmail.com>2011-01-05 06:34:23 +0500
committerWaqas Hussain <waqas20@gmail.com>2011-01-05 06:34:23 +0500
commitf3386d7519a96f68e79436a03a6c7c6a81cb758e (patch)
tree5d80bc00d399add978fd014bd6b888e646676494 /net
parent1850c45665c6b5d4ccf4fd5138922db386a190e9 (diff)
downloadprosody-f3386d7519a96f68e79436a03a6c7c6a81cb758e.tar.gz
prosody-f3386d7519a96f68e79436a03a6c7c6a81cb758e.zip
net.httpserver: Removed unused import and variables.
Diffstat (limited to 'net')
-rw-r--r--net/httpserver.lua2
1 files changed, 0 insertions, 2 deletions
diff --git a/net/httpserver.lua b/net/httpserver.lua
index 6fd9b65e..d401f47c 100644
--- a/net/httpserver.lua
+++ b/net/httpserver.lua
@@ -7,7 +7,6 @@
--
-local socket = require "socket"
local server = require "net.server"
local url_parse = require "socket.url".parse;
local httpstream_new = require "util.httpstream".new;
@@ -17,7 +16,6 @@ local connlisteners_get = require "net.connlisteners".get;
local listener;
local t_insert, t_concat = table.insert, table.concat;
-local s_match, s_gmatch = string.match, string.gmatch;
local tonumber, tostring, pairs, ipairs, type = tonumber, tostring, pairs, ipairs, type;
local urlencode = function (s) return s and (s:gsub("%W", function (c) return ("%%%02x"):format(c:byte()); end)); end