Changeset

8052:f83a2d4826fb

mod_websocket: Log state of cross domain set after changing it
author Kim Alvefur <zash@zash.se>
date Mon, 03 Apr 2017 17:14:34 +0200
parents 8050:c0f81dea4662
children 8053:7d26dab7ce0d
files plugins/mod_websocket.lua
diffstat 1 files changed, 1 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/plugins/mod_websocket.lua	Mon Apr 03 00:34:37 2017 +0200
+++ b/plugins/mod_websocket.lua	Mon Apr 03 17:14:34 2017 +0200
@@ -334,6 +334,7 @@
 		-- This might be weird with random load order
 		local_cross_domain:exclude(cross_domain);
 		cross_domain:include(local_cross_domain);
+		module:log("debug", "cross_domain = %s", cross_domain);
 		function module.unload()
 			cross_domain:exclude(local_cross_domain);
 		end