projects
/
project
/
luci.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
20d2e99
)
sync lucid
author
Steven Barth
<steven@midlink.org>
Thu, 28 May 2009 13:50:05 +0000
(13:50 +0000)
committer
Steven Barth
<steven@midlink.org>
Thu, 28 May 2009 13:50:05 +0000
(13:50 +0000)
libs/lucid/luasrc/lucid/tcpserver.lua
patch
|
blob
|
history
diff --git
a/libs/lucid/luasrc/lucid/tcpserver.lua
b/libs/lucid/luasrc/lucid/tcpserver.lua
index 22f094529810171a191e606c38c392d541d1bc92..db94ba0ecd7466abc3b5f48134597bc233160d8d 100644
(file)
--- a/
libs/lucid/luasrc/lucid/tcpserver.lua
+++ b/
libs/lucid/luasrc/lucid/tcpserver.lua
@@
-170,7
+170,7
@@
function prepare_socket(family, host, port, opts, backlog)
end
function prepare_tls(tlskey)
- local tls = nixio.tls()
+ local tls = nixio.tls(
"server"
)
if tlskey and cursor:get(UCINAME, tlskey) then
local cert = cursor:get(UCINAME, tlskey, "cert")
if cert then