Software /
code /
prosody
Diff
plugins/mod_websocket.lua @ 9800:5c5117d41133 0.11
mod_websocket: Include the value of cross_domain_websocket in debug message
author | Kim Alvefur <zash@zash.se> |
---|---|
date | Fri, 18 Jan 2019 18:37:04 +0100 |
parent | 9415:02155a10c5e9 |
child | 9801:b87cd83a2685 |
child | 9805:7bfc4269dc36 |
line wrap: on
line diff
--- a/plugins/mod_websocket.lua Thu Jan 17 01:15:29 2019 +0100 +++ b/plugins/mod_websocket.lua Fri Jan 18 18:37:04 2019 +0100 @@ -159,7 +159,7 @@ end if not check_origin(request.headers.origin or "") then - module:log("debug", "Origin %s is not allowed by 'cross_domain_websocket'", request.headers.origin or "(missing header)"); + module:log("debug", "Origin %s is not allowed by 'cross_domain_websocket' [ %s ]", request.headers.origin or "(missing header)", cross_domain); return 403; end