Software /
code /
prosody
Changeset
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 |
parents | 9791:ca0473cadd1c |
children | 9801:b87cd83a2685 9805:7bfc4269dc36 |
files | plugins/mod_websocket.lua |
diffstat | 1 files changed, 1 insertions(+), 1 deletions(-) [+] |
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