aboutsummaryrefslogtreecommitdiffstats
path: root/net/server_select.lua
diff options
context:
space:
mode:
authorMatthew Wild <mwild1@gmail.com>2011-01-11 05:04:08 +0000
committerMatthew Wild <mwild1@gmail.com>2011-01-11 05:04:08 +0000
commit72dc9416ef33f5d42d0959cfc0030c4855ea442d (patch)
tree9f919f034f19f9abe791c299ddf03fde8b6fe4d7 /net/server_select.lua
parent16e8102a4e0ee8528925952f9b60ef87a4f8aa00 (diff)
downloadprosody-72dc9416ef33f5d42d0959cfc0030c4855ea442d.tar.gz
prosody-72dc9416ef33f5d42d0959cfc0030c4855ea442d.zip
net.server_select, net.server_event: Silence 'error during ssl handshake' for wantread and wantwrite
Diffstat (limited to 'net/server_select.lua')
-rw-r--r--net/server_select.lua2
1 files changed, 1 insertions, 1 deletions
diff --git a/net/server_select.lua b/net/server_select.lua
index cfd7f3cd..c3777a5f 100644
--- a/net/server_select.lua
+++ b/net/server_select.lua
@@ -530,7 +530,6 @@ wrapconnection = function( server, listeners, socket, ip, serverport, clientport
_readlistlen = addsocket(_readlist, client, _readlistlen)
return true
else
- out_put( "server.lua: error during ssl handshake: ", tostring(err) )
if err == "wantwrite" and not wrote then
_sendlistlen = addsocket(_sendlist, client, _sendlistlen)
wrote = true
@@ -538,6 +537,7 @@ wrapconnection = function( server, listeners, socket, ip, serverport, clientport
_readlistlen = addsocket(_readlist, client, _readlistlen)
read = true
else
+ out_put( "server.lua: ssl handshake error: ", tostring(err) )
break;
end
--coroutine_yield( handler, nil, err ) -- handshake not finished