Software /
code /
prosody
Changeset
4905:274ef78aa173
net.server_event: Assume wrapclient() is taking a new connection, and call onconnect when appropriate (to match server_select)
author | Matthew Wild <mwild1@gmail.com> |
---|---|
date | Thu, 24 May 2012 02:55:37 +0100 |
parents | 4904:5d2ff4627b72 |
children | 4906:89df1f03546a |
files | net/server_event.lua |
diffstat | 1 files changed, 1 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/net/server_event.lua Wed May 23 02:20:32 2012 +0100 +++ b/net/server_event.lua Thu May 24 02:55:37 2012 +0100 @@ -744,7 +744,7 @@ do function wrapclient( client, ip, port, listeners, pattern, sslctx, startssl ) local interface = handleclient( client, ip, port, nil, pattern, listeners, sslctx ) - interface:_start_session() + interface:_start_connection(sslctx) return interface, client --function handleclient( client, ip, port, server, pattern, listener, _, sslctx ) -- creates an client interface end