We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 169c1a7 commit 217300fCopy full SHA for 217300f
http/websocket.lua
@@ -241,7 +241,7 @@ local function read_frame(sock, deadline)
241
if frame.length == 126 then
242
extra_fill_unget = assert(sock:xread(2, "b", 0))
243
frame.length = sunpack(">I2", extra_fill_unget)
244
- fill_length = fill_length - 2
+ fill_length = fill_length - 2 + frame.length
245
elseif frame.length == 127 then
246
extra_fill_unget = assert(sock:xread(8, "b", 0))
247
frame.length = sunpack(">I8", extra_fill_unget)
0 commit comments