# HG changeset patch # User Matthew Wild # Date 1337824537 -3600 # Node ID 274ef78aa173bab9f61f10bcd0e09b13fd2bb64a # Parent 5d2ff4627b72238ebc4b15978a9e03f7beb872f7 net.server_event: Assume wrapclient() is taking a new connection, and call onconnect when appropriate (to match server_select) diff -r 5d2ff4627b72 -r 274ef78aa173 net/server_event.lua --- 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