Software /
code /
prosody
Comparison
net/server_event.lua @ 2096:7d2f3ef5aa83
net.server_event: Comment overly verbose log message
author | Matthew Wild <mwild1@gmail.com> |
---|---|
date | Sat, 21 Nov 2009 02:41:09 +0000 |
parent | 2092:28c0b313b610 |
child | 2097:642806f67b75 |
comparison
equal
deleted
inserted
replaced
2095:3256c5d00901 | 2096:7d2f3ef5aa83 |
---|---|
638 end | 638 end |
639 end | 639 end |
640 | 640 |
641 local addserver = ( function( ) | 641 local addserver = ( function( ) |
642 return function( addr, port, listener, pattern, backlog, sslcfg, startssl ) -- TODO: check arguments | 642 return function( addr, port, listener, pattern, backlog, sslcfg, startssl ) -- TODO: check arguments |
643 debug( "creating new tcp server with following parameters:", addr or "nil", port or "nil", sslcfg or "nil", startssl or "nil") | 643 --vdebug( "creating new tcp server with following parameters:", addr or "nil", port or "nil", sslcfg or "nil", startssl or "nil") |
644 local server, err = socket.bind( addr, port, backlog ) -- create server socket | 644 local server, err = socket.bind( addr, port, backlog ) -- create server socket |
645 if not server then | 645 if not server then |
646 debug( "creating server socket failed because:", err ) | 646 debug( "creating server socket failed because:", err ) |
647 return nil, err | 647 return nil, err |
648 end | 648 end |