summary refs log tree commit diff
path: root/synapse/http/matrixfederationclient.py
diff options
context:
space:
mode:
authorRichard van der Hoff <1389908+richvdh@users.noreply.github.com>2019-01-25 12:38:16 +0000
committerGitHub <noreply@github.com>2019-01-25 12:38:16 +0000
commit8520bc3109c2de6175391497941f3fc0b74c08e5 (patch)
treede56258d663b18f76f7d46b8bc2c7d52099d1fb4 /synapse/http/matrixfederationclient.py
parentDon't require sqlite3 when using postgres (#4466) (diff)
downloadsynapse-8520bc3109c2de6175391497941f3fc0b74c08e5.tar.xz
Fix Host header sent by MatrixFederationAgent (#4468)
Move the Host header logic down here so that (a) it is used if we reuse the
agent elsewhere, and (b) we can mess about with it with .well-known.

Diffstat (limited to 'synapse/http/matrixfederationclient.py')
-rw-r--r--synapse/http/matrixfederationclient.py1
1 files changed, 0 insertions, 1 deletions
diff --git a/synapse/http/matrixfederationclient.py b/synapse/http/matrixfederationclient.py
index 980e912348..bb2e64ed80 100644
--- a/synapse/http/matrixfederationclient.py
+++ b/synapse/http/matrixfederationclient.py
@@ -255,7 +255,6 @@ class MatrixFederationHttpClient(object):
 
         headers_dict = {
             b"User-Agent": [self.version_string_bytes],
-            b"Host": [destination_bytes],
         }
 
         with limiter: