Software /
code /
prosody
Changeset
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 |
parents | 619:6d720aba51cb |
children | 621:cd2cab5400fc |
files | net/server.lua |
diffstat | 1 files changed, 3 insertions(+), 0 deletions(-) [+] |
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, }