Software /
code /
prosody
Diff
net/server_select.lua @ 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 |
parent | 2541:2febd008214e |
child | 2559:a90a00ebae25 |
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