aboutsummaryrefslogtreecommitdiffstats
path: root/plugins/mod_websocket.lua
diff options
context:
space:
mode:
Diffstat (limited to 'plugins/mod_websocket.lua')
-rw-r--r--plugins/mod_websocket.lua1
1 files changed, 1 insertions, 0 deletions
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;