Changeset

5289:ec50ad93e280

net.server_select: Remove useless duplicated settimeout() call
author Kim Alvefur <zash@zash.se>
date Mon, 07 Jan 2013 02:21:03 +0100
parents 5288:2777f34adbd3
children 5290:befb1923527d
files net/server_select.lua
diffstat 1 files changed, 0 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/net/server_select.lua	Mon Jan 07 02:20:43 2013 +0100
+++ b/net/server_select.lua	Mon Jan 07 02:21:03 2013 +0100
@@ -238,7 +238,6 @@
 		local client, err = accept( socket )	-- try to accept
 		if client then
 			local ip, clientport = client:getpeername( )
-			client:settimeout( 0 )
 			local handler, client, err = wrapconnection( handler, listeners, client, ip, serverport, clientport, pattern, sslctx ) -- wrap new client socket
 			if err then -- error while wrapping ssl socket
 				return false