Changeset

5823:b8514209263c

net.server_select: Pass on all arguments to addclient on to wrapclient
author Kim Alvefur <zash@zash.se>
date Fri, 06 Sep 2013 10:52:37 +0200
parents 5822:970c666c5586
children 5824:6f4c8af128e2
files net/server_select.lua
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/net/server_select.lua	Tue Sep 03 15:43:59 2013 +0200
+++ b/net/server_select.lua	Fri Sep 06 10:52:37 2013 +0200
@@ -937,7 +937,7 @@
 	client:settimeout( 0 )
 	_, err = client:connect( address, port )
 	if err then -- try again
-		local handler = wrapclient( client, address, port, listeners )
+		local handler = wrapclient( client, address, port, listeners, pattern, sslctx )
 	else
 		wrapconnection( nil, listeners, client, address, port, "clientport", pattern, sslctx )
 	end