Commit graph

26 commits

Author SHA1 Message Date
Kim Alvefur
f8d61d21e5 mod_websocket: Log an error if cross_domain_websocket = true is set in a VirtualHost section 2019-01-22 10:41:00 +01:00
Kim Alvefur
757051d913 mod_websocket: Include the value of cross_domain_websocket in debug message 2019-01-18 18:37:04 +01:00
Kim Alvefur
0ddec30924 mod_websocket: Silence the one warning instead of ignoring the entire file 2018-09-30 17:55:13 +02:00
Kim Alvefur
eab76309e8 mod_websocket: Serve HTTP in global context 2018-09-22 00:02:16 +02:00
Matthew Wild
3754dac582 Merge 0.10 -> trunk
This commit intentionally drops changes from c2b99fa134b3
and 8da11142fabf which are based on older MUC code.
2018-05-16 23:50:08 +01:00
Kim Alvefur
2bd1debc3c mod_websocket: Transfer IP address derived by mod_http 2018-03-15 17:52:11 +01:00
Kim Alvefur
bd52588649 mod_websocket: Convert set to string (syslog sink needs a better fix) 2017-05-16 17:52:29 +02:00
Kim Alvefur
221809ea04 mod_websocket: Log state of cross domain set after changing it 2017-04-03 17:14:34 +02:00
Matthew Wild
23fad122e6 mod_websocket: Store the request object on the session for use by other modules 2018-05-08 07:11:33 +01:00
Kim Alvefur
fd19cd42b0 mod_websocket: Make open_stream method behave like the one from util.xmppstream 2017-03-02 03:03:25 +01:00
Kim Alvefur
f6e6bc0bd9 mod_websocket: Include xml:lang attribute on stream <open> (fixes #840) 2017-03-02 03:03:04 +01:00
Kim Alvefur
013b8292ab mod_websocket: Set connections starttls method to false to prevent mod_tls from offering starttls (fixes #837) 2017-02-25 02:15:15 +01:00
Kim Alvefur
b151bd4d64 mod_websocket: Allow per-host cross_domain_websocket, defaulting to the base URL of the current host 2016-12-05 12:23:51 +01:00
Kim Alvefur
d1eb694c30 mod_websocket: Add the base URL of each host module is enabled on to 'cross_domain_websocket' 2016-12-05 12:23:41 +01:00
Kim Alvefur
bcf02d74c7 mod_websocket: Verify that the client-sent Origin header matches cross_domain_websocket (fixes #652) 2016-12-05 12:22:41 +01:00
Kim Alvefur
1ec77e632e mod_websocket: Use contains_token from util.http for checking if the requested WebSocket sub-protocols include XMPP 2016-12-04 11:57:26 +01:00
Kim Alvefur
f758fdb4d6 mod_websocket: Add some debug messages 2016-12-04 11:52:22 +01:00
Kim Alvefur
02919f0951 mod_websocket: Set FIN flag on ping frames (fixes #773) 2016-11-04 13:28:10 +01:00
Kim Alvefur
52a8bdb8f5 mod_websocket: Fix read timeout handler (thanks mt) 2016-04-06 14:44:51 +02:00
Kim Alvefur
41522cb84a mod_websocket: Send a ping on read timeout 2016-03-23 23:21:03 +01:00
Kim Alvefur
a50a9d99a0 mod_websocket: Remove warning about unsolicited pong frames "MAY be sent unsolicited" per RFC 6455 (thanks mt) 2016-03-23 14:31:35 +01:00
Kim Alvefur
4633eb56fb mod_websocket: Make sure stanza xmlns filter runs late in the chain 2016-03-18 00:08:33 +01:00
Kim Alvefur
bc5cd404ab mod_websocket: Silence luacheck warnings 2015-10-06 15:30:25 +02:00
Kim Alvefur
1aac758bba mod_websocket: Import util.timer and session close timeout config option (thanks fairuz) 2015-10-06 15:27:39 +02:00
Kim Alvefur
6481392488 mod_websocket: Import sessionmanager (fixes traceback) 2015-08-21 11:26:34 +02:00
Florian Zeitz
6806a3f7be mod_websocket: Initial commit (based on the prosody-modules version) 2014-09-05 03:47:39 +02:00