Software /
code /
prosody
Comparison
plugins/mod_http.lua @ 5374:b62c6cbcb065
mod_http: Import portmanager
author | Kim Alvefur <zash@zash.se> |
---|---|
date | Sat, 23 Mar 2013 01:42:27 +0100 |
parent | 5332:5b73ac268a9e |
child | 5427:199e7989f713 |
comparison
equal
deleted
inserted
replaced
5373:9e6d6cdf0449 | 5374:b62c6cbcb065 |
---|---|
7 -- | 7 -- |
8 | 8 |
9 module:set_global(); | 9 module:set_global(); |
10 module:depends("http_errors"); | 10 module:depends("http_errors"); |
11 | 11 |
12 local portmanager = require "core.portmanager"; | |
12 local moduleapi = require "core.moduleapi"; | 13 local moduleapi = require "core.moduleapi"; |
13 local url_parse = require "socket.url".parse; | 14 local url_parse = require "socket.url".parse; |
14 local url_build = require "socket.url".build; | 15 local url_build = require "socket.url".build; |
15 | 16 |
16 local server = require "net.http.server"; | 17 local server = require "net.http.server"; |