Software /
code /
prosody-modules
Comparison
mod_websocket/mod_websocket.lua @ 853:4d27552ac443
mod_websocket: Don't offer starttls
author | Florian Zeitz <florob@babelmonkeys.de> |
---|---|
date | Thu, 25 Oct 2012 17:45:08 +0200 |
parent | 849:6e2ec1825182 |
child | 856:7eb54ed58856 |
comparison
equal
deleted
inserted
replaced
852:6c2b77f97e62 | 853:4d27552ac443 |
---|---|
292 conn:setoption("keepalive", opt_keepalives); | 292 conn:setoption("keepalive", opt_keepalives); |
293 end | 293 end |
294 | 294 |
295 session.close = session_close; | 295 session.close = session_close; |
296 | 296 |
297 session.conn.starttls = nil; | |
298 | |
297 local stream = new_xmpp_stream(session, stream_callbacks); | 299 local stream = new_xmpp_stream(session, stream_callbacks); |
298 session.stream = stream; | 300 session.stream = stream; |
299 session.notopen = true; | 301 session.notopen = true; |
300 | 302 |
301 function session.reset_stream() | 303 function session.reset_stream() |