Make wraptcpclient set timeout to 0, and add it to the list of exported functions from server.lua

Sat, 13 Dec 2008 14:30:59 +0000

author
Matthew Wild <mwild1@gmail.com>
date
Sat, 13 Dec 2008 14:30:59 +0000
changeset 620
9f9f69d67edb
parent 619
6d720aba51cb
child 621
cd2cab5400fc

Make wraptcpclient set timeout to 0, and add it to the list of exported functions from server.lua

net/server.lua file | annotate | diff | comparison | revisions
--- a/net/server.lua	Fri Dec 12 04:38:22 2008 +0000
+++ b/net/server.lua	Sat Dec 13 14:30:59 2008 +0000
@@ -587,6 +587,8 @@
 
 	local eol, fatal_send_error
 
+	socket:settimeout(0);
+	
 	local rstat, sstat = 0, 0
 
 	--// local import of socket methods //--
@@ -833,5 +835,6 @@
 	stats = stats,
 	closeall = closeall,
 	addtimer = addtimer,
+	wraptcpclient = wraptcpclient,
 	wraptlsclient = wraptlsclient,
 }

mercurial