mod_websocket: Store the request object on the session for use by other modules

This commit is contained in:
Matthew Wild 2018-05-08 07:11:33 +01:00
parent 9972a600aa
commit 23fad122e6

View file

@ -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;