Software /
code /
prosody
Changeset
8789:4ae8dd415e94 0.10.1
mod_websocket: Store the request object on the session for use by other modules
author | Matthew Wild <mwild1@gmail.com> |
---|---|
date | Tue, 08 May 2018 07:11:33 +0100 |
parents | 8758:c380a22d52d5 |
children | 8790:85f13967eb07 |
files | plugins/mod_websocket.lua |
diffstat | 1 files changed, 1 insertions(+), 0 deletions(-) [+] |
line wrap: on
line diff
--- a/plugins/mod_websocket.lua Tue Apr 24 22:58:46 2018 +0100 +++ b/plugins/mod_websocket.lua Tue May 08 07:11:33 2018 +0100 @@ -257,6 +257,7 @@ local session = sessions[conn]; session.secure = consider_websocket_secure or session.secure; + session.websocket_request = request; session.open_stream = session_open_stream; session.close = session_close;