mod_websocket: Include xml:lang attribute on stream <open> (fixes #840)

This commit is contained in:
Kim Alvefur 2017-03-02 03:03:04 +01:00
parent 3bf3935e78
commit f6e6bc0bd9

View file

@ -54,6 +54,7 @@ local c2s_listener = portmanager.get_service("c2s").listener;
local function session_open_stream(session)
local attr = {
xmlns = xmlns_framing,
["xml:lang"] = "en",
version = "1.0",
id = session.streamid or "",
from = session.host