diff --git a/lualib/http/websocket.lua b/lualib/http/websocket.lua index 58b0c1d8..4f901cee 100755 --- a/lualib/http/websocket.lua +++ b/lualib/http/websocket.lua @@ -247,6 +247,8 @@ local function resolve_accept(self) if not ok then error(s) end + try_handle(self, "close") + return end local header = err