aboutsummaryrefslogtreecommitdiffstats
path: root/net
diff options
context:
space:
mode:
Diffstat (limited to 'net')
-rw-r--r--net/server.lua3
1 files changed, 3 insertions, 0 deletions
diff --git a/net/server.lua b/net/server.lua
index 5c129753..4e5ec366 100644
--- a/net/server.lua
+++ b/net/server.lua
@@ -587,6 +587,8 @@ wraptcpclient = function( listener, socket, ip, serverport, clientport, mode )
local eol, fatal_send_error
+ socket:settimeout(0);
+
local rstat, sstat = 0, 0
--// local import of socket methods //--
@@ -833,5 +835,6 @@ return {
stats = stats,
closeall = closeall,
addtimer = addtimer,
+ wraptcpclient = wraptcpclient,
wraptlsclient = wraptlsclient,
}