Sat, 13 Dec 2008 14:30:59 +0000
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, }