Changeset

2462:2d81cc25b5a6

net.server_event: Remove access to starttls method when starttls is negotiated - fixes offering starttls to client who are already using it (thanks darkrain and Adium)
author Matthew Wild <mwild1@gmail.com>
date Mon, 18 Jan 2010 18:20:03 +0000
parents 2461:a6a50cf0e444
children 2463:d9ff0190eb4a
files net/server_event.lua
diffstat 1 files changed, 1 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/net/server_event.lua	Mon Jan 18 17:14:41 2010 +0000
+++ b/net/server_event.lua	Mon Jan 18 18:20:03 2010 +0000
@@ -415,6 +415,7 @@
 			self:_lock( true, true, false )
 			debug "ssl session delayed until writebuffer is empty..."
 		end
+		self.starttls = false;
 		return true
 	end