mirror of
https://git.anonymousland.org/anonymousland/synapse.git
synced 2025-05-02 09:06:06 -04:00
Fix check to ignore blank lines in incoming TCP replication (#14449)
This commit is contained in:
parent
75888c2b1f
commit
e7132c3f81
3 changed files with 5 additions and 4 deletions
|
@ -245,7 +245,7 @@ class BaseReplicationStreamProtocol(LineOnlyReceiver):
|
|||
self._parse_and_dispatch_line(line)
|
||||
|
||||
def _parse_and_dispatch_line(self, line: bytes) -> None:
|
||||
if line.strip() == "":
|
||||
if line.strip() == b"":
|
||||
# Ignore blank lines
|
||||
return
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue