aboutsummaryrefslogtreecommitdiffstats
path: root/net/server_event.lua
diff options
context:
space:
mode:
authorMatthew Wild <mwild1@gmail.com>2012-05-24 02:55:37 +0100
committerMatthew Wild <mwild1@gmail.com>2012-05-24 02:55:37 +0100
commit6e38fa6d6b095c5fd384801240f4e941f70fedb9 (patch)
tree809d076d01f8ecdbda43d45e2f001e48086b64e8 /net/server_event.lua
parentbe0728553e1183627a4058c652ad793ea6746ef8 (diff)
downloadprosody-6e38fa6d6b095c5fd384801240f4e941f70fedb9.tar.gz
prosody-6e38fa6d6b095c5fd384801240f4e941f70fedb9.zip
net.server_event: Assume wrapclient() is taking a new connection, and call onconnect when appropriate (to match server_select)
Diffstat (limited to 'net/server_event.lua')
-rw-r--r--net/server_event.lua2
1 files changed, 1 insertions, 1 deletions
diff --git a/net/server_event.lua b/net/server_event.lua
index 8d6f5597..3b05193e 100644
--- a/net/server_event.lua
+++ b/net/server_event.lua
@@ -744,7 +744,7 @@ local addclient, wrapclient
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