Software /
code /
prosody
Diff
net/server.lua @ 620:9f9f69d67edb
Make wraptcpclient set timeout to 0, and add it to the list of exported functions from server.lua
author | Matthew Wild <mwild1@gmail.com> |
---|---|
date | Sat, 13 Dec 2008 14:30:59 +0000 |
parent | 581:23b9cd1206ba |
child | 630:e9336adb66e5 |
line wrap: on
line diff
--- 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, }