Software /
code /
prosody
Diff
net/server_select.lua @ 3808:90a82720d504
net.server_select: Made some globals local.
author | Waqas Hussain <waqas20@gmail.com> |
---|---|
date | Thu, 02 Dec 2010 22:55:42 +0500 |
parent | 3805:96167ce17cff |
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