aboutsummaryrefslogtreecommitdiffstats
path: root/net/server_event.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_event.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_event.lua')
-rw-r--r--net/server_event.lua2
1 files changed, 1 insertions, 1 deletions
diff --git a/net/server_event.lua b/net/server_event.lua
index 058d51fe..528305d3 100644
--- a/net/server_event.lua
+++ b/net/server_event.lua
@@ -221,12 +221,12 @@ do
self.eventhandshake = nil
return -1
end
- debug( "error during ssl handshake:", err )
if err == "wantwrite" then
event = EV_WRITE
elseif err == "wantread" then
event = EV_READ
else
+ debug( "ssl handshake error:", err )
self.fatalerror = err
end
end