summary refs log tree commit diff
path: root/synapse/http
diff options
context:
space:
mode:
authorErik Johnston <erik@matrix.org>2023-06-08 13:16:39 +0100
committerErik Johnston <erik@matrix.org>2023-06-08 13:16:39 +0100
commitb5b7bb7c0fbfe50516d2ba6232461544b4fbea54 (patch)
treeb76ee3ebea25df0c1c2072a9b8c980e3e2ff4c00 /synapse/http
parentMerge branch 'release-v1.85' (diff)
parentFix up changelog (diff)
downloadsynapse-b5b7bb7c0fbfe50516d2ba6232461544b4fbea54.tar.xz
Merge branch 'release-v1.85'
Diffstat (limited to 'synapse/http')
-rw-r--r--synapse/http/replicationagent.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/synapse/http/replicationagent.py b/synapse/http/replicationagent.py
index 800f21873d..d6ba6f0e57 100644
--- a/synapse/http/replicationagent.py
+++ b/synapse/http/replicationagent.py
@@ -76,7 +76,7 @@ class ReplicationEndpointFactory:
                 endpoint = wrapClientTLS(
                     # The 'port' argument below isn't actually used by the function
                     self.context_factory.creatorForNetloc(
-                        self.instance_map[worker_name].host,
+                        self.instance_map[worker_name].host.encode("utf-8"),
                         self.instance_map[worker_name].port,
                     ),
                     endpoint,