Software /
code /
prosody
Diff
net/server_select.lua @ 3685:63efe4eefa07
net.server_select: Made some globals local.
author | Waqas Hussain <waqas20@gmail.com> |
---|---|
date | Thu, 02 Dec 2010 22:55:42 +0500 |
parent | 3682:d12141cbbaa0 |
child | 3686:27d3e2a2a248 |
line wrap: on
line diff
--- a/net/server_select.lua Thu Dec 02 22:47:29 2010 +0500 +++ b/net/server_select.lua Thu Dec 02 22:55:42 2010 +0500 @@ -32,6 +32,7 @@ local type = use "type" local pairs = use "pairs" local ipairs = use "ipairs" +local tonumber = use "tonumber" local tostring = use "tostring" local collectgarbage = use "collectgarbage" @@ -127,6 +128,8 @@ local _maxclientsperserver +local _maxsslhandshake + ----------------------------------// DEFINITION //-- _server = { } -- key = port, value = table; list of listening servers