Comparison

net/server.lua @ 659:c424bec771d9

Remove some debugging code that slipped in
author Matthew Wild <mwild1@gmail.com>
date Sat, 27 Dec 2008 21:22:49 +0000
parent 658:1952fdcf1017
child 731:c29cf3ffa3fc
comparison
equal deleted inserted replaced
658:1952fdcf1017 659:c424bec771d9
99 local dispatch, disconnect = listener.listener, listener.disconnect -- dangerous 99 local dispatch, disconnect = listener.listener, listener.disconnect -- dangerous
100 100
101 local wrapclient, err 101 local wrapclient, err
102 102
103 out_put("Starting a new server on "..tostring(serverport).." with ssl: "..tostring(sslctx)); 103 out_put("Starting a new server on "..tostring(serverport).." with ssl: "..tostring(sslctx));
104 out_put(traceback())
105 if sslctx then 104 if sslctx then
106 if not ssl_newcontext then 105 if not ssl_newcontext then
107 return nil, "luasec not found" 106 return nil, "luasec not found"
108 end 107 end
109 if type( sslctx ) ~= "table" then 108 if type( sslctx ) ~= "table" then