mirror of
https://github.com/bjc/prosody.git
synced 2025-04-03 21:27:38 +03:00
mod_websocket: Store the request object on the session for use by other modules
This commit is contained in:
parent
9972a600aa
commit
23fad122e6
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