From 472e7680219e31cda35ba4d1369e37b2e8d70d1e Mon Sep 17 00:00:00 2001 From: Matthew Wild Date: Tue, 8 May 2018 07:11:33 +0100 Subject: mod_websocket: Store the request object on the session for use by other modules --- plugins/mod_websocket.lua | 1 + 1 file changed, 1 insertion(+) (limited to 'plugins') 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; -- cgit v1.2.3