Skip to content

Commit 277a9c6

Browse files
author
hzq
committed
perf: Repeat with line 71, read data stream repeatedly
1 parent d852df7 commit 277a9c6

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

src/websockets/legacy/framing.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -87,7 +87,6 @@ async def read(
8787

8888
length = head2 & 0b01111111
8989
if length == 126:
90-
data = await reader(2)
9190
(length,) = struct.unpack("!H", data)
9291
elif length == 127:
9392
data = await reader(8)

0 commit comments

Comments
 (0)