Software /
code /
prosody
Comparison
util/adminstream.lua @ 10876:c01c39a2c7a2
util.adminstream: Import net.server [luacheck]
author | Matthew Wild <mwild1@gmail.com> |
---|---|
date | Tue, 02 Jun 2020 08:41:05 +0100 |
parent | 10875:09674bbb833f |
child | 10892:b9ff7178787c |
comparison
equal
deleted
inserted
replaced
10875:09674bbb833f | 10876:c01c39a2c7a2 |
---|---|
3 local sessionlib = require "util.session"; | 3 local sessionlib = require "util.session"; |
4 local gettime = require "util.time".now; | 4 local gettime = require "util.time".now; |
5 local runner = require "util.async".runner; | 5 local runner = require "util.async".runner; |
6 local add_task = require "util.timer".add_task; | 6 local add_task = require "util.timer".add_task; |
7 local events = require "util.events"; | 7 local events = require "util.events"; |
8 local server = require "net.server"; | |
8 | 9 |
9 local stream_close_timeout = 5; | 10 local stream_close_timeout = 5; |
10 | 11 |
11 local log = require "util.logger".init("adminstream"); | 12 local log = require "util.logger".init("adminstream"); |
12 | 13 |