Software /
code /
prosody-modules
Diff
mod_websocket/mod_websocket.lua @ 1325:b21236b6b8d8
Backed out changeset 853a382c9bd6
author | Kim Alvefur <zash@zash.se> |
---|---|
date | Fri, 28 Feb 2014 15:37:55 +0100 |
parent | 1324:853a382c9bd6 |
child | 1340:3ffd64b4ab59 |
line wrap: on
line diff
--- a/mod_websocket/mod_websocket.lua Fri Feb 28 15:36:06 2014 +0100 +++ b/mod_websocket/mod_websocket.lua Fri Feb 28 15:37:55 2014 +0100 @@ -242,7 +242,6 @@ c2s_listener.onconnect(conn); local session = sessions[conn]; - session._http_request_headers = request.headers; session.secure = consider_websocket_secure or session.secure; @@ -286,11 +285,4 @@ ["GET /"] = handle_request; }; }); - - module:add_item("alt-conn-method", { - rel = "urn:xmpp:altconnect:websocket"; - href = module:http_url(nil, "xmpp-websocket"):gsub("^http", "ws"); - }); end - -