Changeset

2549:55a50e75c0c0

net.server_select: Report whether a new listener uses SSL or not in the log message
author Matthew Wild <mwild1@gmail.com>
date Sun, 31 Jan 2010 16:23:38 +0000
parents 2548:e12acef85166
children 2550:445b1de5652e
files net/server_select.lua
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/net/server_select.lua	Sun Jan 31 16:22:52 2010 +0000
+++ b/net/server_select.lua	Sun Jan 31 16:23:38 2010 +0000
@@ -681,7 +681,7 @@
     _readlistlen = addsocket(_readlist, server, _readlistlen)
     _server[ port ] = handler
     _socketlist[ server ] = handler
-    out_put( "server.lua: new server listener on '", addr, ":", port, "'" )
+    out_put( "server.lua: new "..(sslctx and "ssl " or "").."server listener on '", addr, ":", port, "'" )
     return handler
 end