Diff

net/server_event.lua @ 4111:4716c7645ad2

net.server_select, net.server_event: Silence 'error during ssl handshake' for wantread and wantwrite
author Matthew Wild <mwild1@gmail.com>
date Tue, 11 Jan 2011 05:04:08 +0000
parent 4074:d2c9d9f569f9
child 4377:705a8f14427b
line wrap: on
line diff
--- a/net/server_event.lua	Tue Jan 11 04:19:26 2011 +0000
+++ b/net/server_event.lua	Tue Jan 11 05:04:08 2011 +0000
@@ -221,12 +221,12 @@
 								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