Software / code / prosody
Changeset
9988:cdf0b63a0d61
mod_admin_telnet: added "(bosh)" and "(websocket)" connection flags (#998)
| author | Arc Riley <arcriley@gmail.com> |
|---|---|
| date | Thu, 02 May 2019 17:28:49 -0700 |
| parents | 9987:521fb218098d |
| children | 9989:026f9594f661 |
| files | plugins/mod_admin_telnet.lua |
| diffstat | 1 files changed, 6 insertions(+), 0 deletions(-) [+] |
line wrap: on
line diff
--- a/plugins/mod_admin_telnet.lua Thu May 02 16:33:14 2019 -0700 +++ b/plugins/mod_admin_telnet.lua Thu May 02 17:28:49 2019 -0700 @@ -554,6 +554,12 @@ if session.is_bidi then line[#line+1] = "(bidi)"; end + if session.bosh_version then + line[#line+1] = "(bosh)"; + end + if session.websocket_request then + line[#line+1] = "(websocket)"; + end return table.concat(line, " "); end