changeset 853:4d27552ac443

mod_websocket: Don't offer starttls
author Florian Zeitz <florob@babelmonkeys.de>
date Thu, 25 Oct 2012 17:45:08 +0200
parents 6c2b77f97e62
children 1c64ab8ae374
files mod_websocket/mod_websocket.lua
diffstat 1 files changed, 2 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/mod_websocket/mod_websocket.lua	Thu Oct 25 00:15:23 2012 +0000
+++ b/mod_websocket/mod_websocket.lua	Thu Oct 25 17:45:08 2012 +0200
@@ -294,6 +294,8 @@
 
 	session.close = session_close;
 
+	session.conn.starttls = nil;
+
 	local stream = new_xmpp_stream(session, stream_callbacks);
 	session.stream = stream;
 	session.notopen = true;