projects
/
prosody.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
f71115b
)
net.server_select: Made some globals local.
author
Waqas Hussain
<waqas20@gmail.com>
Thu, 2 Dec 2010 17:55:42 +0000
(22:55 +0500)
committer
Waqas Hussain
<waqas20@gmail.com>
Thu, 2 Dec 2010 17:55:42 +0000
(22:55 +0500)
net/server_select.lua
patch
|
blob
|
history
diff --git
a/net/server_select.lua
b/net/server_select.lua
index a7081f8148e7b3122eb11e2a9f5b103c7039e2cf..5ca54aead40f5788c59f10de50be242317f4ab93 100644
(file)
--- a/
net/server_select.lua
+++ b/
net/server_select.lua
@@
-32,6
+32,7
@@
local STAT_UNIT = 1 -- byte
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 _timer
local _maxclientsperserver
+local _maxsslhandshake
+
----------------------------------// DEFINITION //--
_server = { } -- key = port, value = table; list of listening servers