Skip to content

Commit

Permalink
data == b
Browse files Browse the repository at this point in the history
  • Loading branch information
MauroAntonino committed Feb 18, 2024
1 parent e217458 commit 9141cca
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/websockets/sync/connection.py
Original file line number Diff line number Diff line change
Expand Up @@ -546,8 +546,8 @@ def recv_events(self) -> None:
self.set_recv_exc(exc)
break

if data == b"":
break
# if data == b"":
# break

# Acquire the connection lock.
with self.protocol_mutex:
Expand Down

0 comments on commit 9141cca

Please sign in to comment.