aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorKim Alvefur <zash@zash.se>2013-01-07 02:21:03 +0100
committerKim Alvefur <zash@zash.se>2013-01-07 02:21:03 +0100
commitbea132059b61e3c1e4215e7a58cb83210a4db4fa (patch)
treeaafb89ac9aa85362cc80785217696bb278308176
parent65a2b43b0d685790463d70d6d9062f604adb41f3 (diff)
downloadprosody-bea132059b61e3c1e4215e7a58cb83210a4db4fa.tar.gz
prosody-bea132059b61e3c1e4215e7a58cb83210a4db4fa.zip
net.server_select: Remove useless duplicated settimeout() call
-rw-r--r--net/server_select.lua1
1 files changed, 0 insertions, 1 deletions
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