# HG changeset patch # User Matthew Wild # Date 1525759893 -3600 # Node ID 4ae8dd415e9431924ad4aa0b57bcee8a4a9272f8 # Parent c380a22d52d5be54a325802c9a2de241dd2d12a1 mod_websocket: Store the request object on the session for use by other modules diff -r c380a22d52d5 -r 4ae8dd415e94 plugins/mod_websocket.lua --- a/plugins/mod_websocket.lua Tue Apr 24 22:58:46 2018 +0100 +++ b/plugins/mod_websocket.lua Tue May 08 07:11:33 2018 +0100 @@ -257,6 +257,7 @@ 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;