mirror of
https://github.com/bjc/prosody.git
synced 2025-04-06 14:47:37 +03:00
mod_websocket: Store the request object on the session for use by other modules
This commit is contained in:
parent
9a76ea7e31
commit
9bd948919b
1 changed files with 1 additions and 0 deletions
|
@ -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;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue