Skip to content

Commit 01a4bfa

Browse files
authored
doc: fixed typo of the error message in server.lua (#53)
1 parent 697acc0 commit 01a4bfa

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/resty/websocket/server.lua

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -95,7 +95,7 @@ function _M.new(self, opts)
9595
ngx.status = 101
9696
local ok, err = ngx.send_headers()
9797
if not ok then
98-
return nil, "failed to send response header: " .. (err or "unknonw")
98+
return nil, "failed to send response header: " .. (err or "unknown")
9999
end
100100
ok, err = ngx.flush(true)
101101
if not ok then

0 commit comments

Comments
 (0)