Skip to content

Commit 97339db

Browse files
committed
Merge branch 'master' of github.com:agentzh/lua-resty-websocket
2 parents 09f178f + be444c2 commit 97339db

File tree

2 files changed

+3
-2
lines changed

2 files changed

+3
-2
lines changed

lib/resty/websocket/client.lua

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -230,7 +230,7 @@ function _M.recv_frame(self)
230230
end
231231

232232

233-
local function send_frame(self, fin, opcode, payload, max_payload_len)
233+
local function send_frame(self, fin, opcode, payload)
234234
if self.fatal then
235235
return nil, "fatal error already happened"
236236
end

lib/resty/websocket/protocol.lua

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,8 @@ local bor = bit.bor
1212
local bxor = bit.bxor
1313
local lshift = bit.lshift
1414
local rshift = bit.rshift
15-
local tohex = bit.tohex
15+
--local tohex = bit.tohex
16+
local tostring = tostring
1617
local concat = table.concat
1718
local str_char = string.char
1819
local rand = math.random

0 commit comments

Comments
 (0)