aboutsummaryrefslogtreecommitdiffstats
path: root/net
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
commit5a496dff077316974c85b2666dc787394f0baebb (patch)
treeaafb89ac9aa85362cc80785217696bb278308176 /net
parent97a1cc8500afa7ccc15fb6b6f3d3c586afe5fdb7 (diff)
downloadprosody-5a496dff077316974c85b2666dc787394f0baebb.tar.gz
prosody-5a496dff077316974c85b2666dc787394f0baebb.zip
net.server_select: Remove useless duplicated settimeout() call
Diffstat (limited to 'net')
-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