Software /
code /
prosody
Comparison
plugins/mod_proxy65.lua @ 4917:d1dca1d12d53
mod_proxy65: Add missing import of portmanager
author | Kim Alvefur <zash@zash.se> |
---|---|
date | Sun, 27 May 2012 01:22:02 +0200 |
parent | 4916:31496e8227e8 |
child | 4921:9a01c6bc435e |
comparison
equal
deleted
inserted
replaced
4916:31496e8227e8 | 4917:d1dca1d12d53 |
---|---|
12 local jid_compare, jid_prep = require "util.jid".compare, require "util.jid".prep; | 12 local jid_compare, jid_prep = require "util.jid".compare, require "util.jid".prep; |
13 local st = require "util.stanza"; | 13 local st = require "util.stanza"; |
14 local sha1 = require "util.hashes".sha1; | 14 local sha1 = require "util.hashes".sha1; |
15 local b64 = require "util.encodings".base64.encode; | 15 local b64 = require "util.encodings".base64.encode; |
16 local server = require "net.server"; | 16 local server = require "net.server"; |
17 local portmanager = require "core.portmanager"; | |
17 | 18 |
18 local sessions, transfers = module:shared("sessions", "transfers"); | 19 local sessions, transfers = module:shared("sessions", "transfers"); |
19 local max_buffer_size = 4096; | 20 local max_buffer_size = 4096; |
20 | 21 |
21 local listener = {}; | 22 local listener = {}; |