diff options
author | Kim Alvefur <zash@zash.se> | 2013-01-07 02:21:03 +0100 |
---|---|---|
committer | Kim Alvefur <zash@zash.se> | 2013-01-07 02:21:03 +0100 |
commit | 5a496dff077316974c85b2666dc787394f0baebb (patch) | |
tree | aafb89ac9aa85362cc80785217696bb278308176 | |
parent | 97a1cc8500afa7ccc15fb6b6f3d3c586afe5fdb7 (diff) | |
download | prosody-5a496dff077316974c85b2666dc787394f0baebb.tar.gz prosody-5a496dff077316974c85b2666dc787394f0baebb.zip |
net.server_select: Remove useless duplicated settimeout() call
-rw-r--r-- | net/server_select.lua | 1 |
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 |