[ejabberd] getting started with ejabberd...

Alexey Shchepin alexey at sevcom.net
Fri Aug 29 21:54:04 MSD 2003


Hello, Anastasia!

On Fri, 29 Aug 2003 11:19:41 +0400, you said:

 AG> On Thu, Aug 28, 2003 at 05:44:36PM -0700, Marshall Rose wrote:
 >> 1. the ssl problem

 AG> [skip for aleksey]

Probably I got it, try to replace in ejabberd_listeners.erl this function:

init_ssl(Port, Module, Opts, SSLOpts) ->
    {ok, ListenSocket} = ssl:listen(Port, [binary,
					   {packet, 0}, 
					   {active, false},
					   {nodelay, true},
					   {backlog, 0},
					   {cachetimout, 0} |
					   SSLOpts]),
    accept_ssl(ListenSocket, Module, Opts).

with

init_ssl(Port, Module, Opts, SSLOpts) ->
    {ok, ListenSocket} = ssl:listen(Port, [binary,
					   {packet, 0}, 
					   {active, false},
					   {nodelay, true} |
					   SSLOpts]),
    accept_ssl(ListenSocket, Module, Opts).

If this will help, then I'll commit this.



More information about the ejabberd mailing list