# HG changeset patch # User Kim Alvefur # Date 1378457557 -7200 # Node ID b8514209263c4ac93897e9040d0caac959c3b686 # Parent 970c666c55869ababfb5439a5115b377dca58f31 net.server_select: Pass on all arguments to addclient on to wrapclient diff -r 970c666c5586 -r b8514209263c net/server_select.lua --- 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