diff options
author | Matthew Wild <mwild1@gmail.com> | 2018-05-08 07:11:33 +0100 |
---|---|---|
committer | Matthew Wild <mwild1@gmail.com> | 2018-05-08 07:11:33 +0100 |
commit | 9bd948919b81712b61b2110d8f31a936548224cd (patch) | |
tree | b348da177d416099742919e56898c2cb8ce2ac68 /plugins/mod_websocket.lua | |
parent | 9a76ea7e31d5034607932ac304d89c40bf9c59bf (diff) | |
download | prosody-9bd948919b81712b61b2110d8f31a936548224cd.tar.gz prosody-9bd948919b81712b61b2110d8f31a936548224cd.zip |
mod_websocket: Store the request object on the session for use by other modules
Diffstat (limited to 'plugins/mod_websocket.lua')
-rw-r--r-- | plugins/mod_websocket.lua | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/plugins/mod_websocket.lua b/plugins/mod_websocket.lua index ed73962d..edc104df 100644 --- a/plugins/mod_websocket.lua +++ b/plugins/mod_websocket.lua @@ -257,6 +257,7 @@ function handle_request(event) 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; |