From 5a496dff077316974c85b2666dc787394f0baebb Mon Sep 17 00:00:00 2001 From: Kim Alvefur Date: Mon, 7 Jan 2013 02:21:03 +0100 Subject: net.server_select: Remove useless duplicated settimeout() call --- net/server_select.lua | 1 - 1 file changed, 1 deletion(-) (limited to 'net') diff --git a/net/server_select.lua b/net/server_select.lua index 122d774e..0852d444 100644 --- a/net/server_select.lua +++ b/net/server_select.lua @@ -238,7 +238,6 @@ wrapserver = function( listeners, socket, ip, serverport, pattern, sslctx, maxco 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 -- cgit v1.2.3