Skip to content

Commit

Permalink
Revert "call unbound method"
Browse files Browse the repository at this point in the history
This reverts commit 521820d.
  • Loading branch information
bdraco committed Oct 26, 2024
1 parent 521820d commit 2b94609
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions aiohttp/_websocket.pyx
Original file line number Diff line number Diff line change
Expand Up @@ -213,11 +213,11 @@ cdef class WebSocketReaderBaseCython:
chunk_len = buf_length - start_pos
if length >= chunk_len:
self._payload_length = length - chunk_len
payload.extend(buf[start_pos:])
payload += buf[start_pos:]
start_pos = buf_length
else:
self._payload_length = 0
payload.extend(buf[start_pos : start_pos + length])
payload += buf[start_pos : start_pos + length]
start_pos = start_pos + length

if self._payload_length != 0:
Expand Down

0 comments on commit 2b94609

Please sign in to comment.