# HG changeset patch # User Matthew Wild # Date 1366242009 -3600 # Node ID 55faa2fd5549ca0cb8d67f6379b17ed75fbf3944 # Parent 0880a079d83058143fe0e01d547dbebb04c2741a# Parent ab821566ede80d51145f8f1dc7c90684469c31ba Merge backout diff -r 0880a079d830 -r 55faa2fd5549 net/server_select.lua --- a/net/server_select.lua Thu Apr 18 00:08:58 2013 +0100 +++ b/net/server_select.lua Thu Apr 18 00:40:09 2013 +0100 @@ -551,6 +551,9 @@ handler.readbuffer = _readbuffer -- when handshake is done, replace the handshake function with regular functions handler.sendbuffer = _sendbuffer _ = status and status( handler, "ssl-handshake-complete" ) + if self.autostart_ssl and listeners.onconnect then + listeners.onconnect(self); + end _readlistlen = addsocket(_readlist, client, _readlistlen) return true else