Diff

plugins/mod_websocket.lua @ 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
parent 7938:3629f03817f8
child 8145:4d0f5ea19851
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