diff --git a/dist/antd_web_apps.tar.gz b/dist/antd_web_apps.tar.gz index ab5dee5..41b05e8 100644 Binary files a/dist/antd_web_apps.tar.gz and b/dist/antd_web_apps.tar.gz differ diff --git a/os/controllers/SystemController.lua b/os/controllers/SystemController.lua index 6be343e..3811fa3 100644 --- a/os/controllers/SystemController.lua +++ b/os/controllers/SystemController.lua @@ -156,7 +156,9 @@ function SystemController:apigateway(...) if use_ws then if std.ws.enable() then -- read header - local header = std.ws.header() + local header = nil + -- wait until we receive request + while(not header) do header = std.ws.header() end if header then if header.mask == 0 then print("Data is not masked")