From 05ca6c7392d2b8cc1a1ff58d9c7c6215846f2046 Mon Sep 17 00:00:00 2001 From: Richard van der Hoff <1389908+richvdh@users.noreply.github.com> Date: Thu, 10 Aug 2023 10:19:53 +0100 Subject: [PATCH] Remove mention of default port with SRV records (#1615) --- .../newsfragments/1615.clarification | 1 + content/server-server-api.md | 15 +++++++-------- 2 files changed, 8 insertions(+), 8 deletions(-) create mode 100644 changelogs/server_server/newsfragments/1615.clarification diff --git a/changelogs/server_server/newsfragments/1615.clarification b/changelogs/server_server/newsfragments/1615.clarification new file mode 100644 index 00000000..1f95cf69 --- /dev/null +++ b/changelogs/server_server/newsfragments/1615.clarification @@ -0,0 +1 @@ +Remove spurious mention of a "default port" with respect to SRV record lookup. diff --git a/content/server-server-api.md b/content/server-server-api.md index 2dc80da5..c2b31118 100644 --- a/content/server-server-api.md +++ b/content/server-server-api.md @@ -110,7 +110,7 @@ to send. The process overall is as follows: given. The target server must present a valid certificate for the IP address. The `Host` header in the request should be set to the server name, including the port if the server name included one. - + 2. If the hostname is not an IP literal, and the server name includes an explicit port, resolve the hostname to an IP address using CNAME, AAAA or A records. @@ -162,13 +162,12 @@ to send. The process overall is as follows: ``. The target server must present a valid certificate for ``. -4. If the `/.well-known` request resulted in an error response, a - server is found by resolving an SRV record for - `_matrix._tcp.`. This may result in a hostname (to be - resolved using AAAA or A records) and port. Requests are made to the - resolved IP address and port, using 8448 as a default port, with a - `Host` header of ``. The target server must present a - valid certificate for ``. +4. If the `/.well-known` request resulted in an error response, a server is + found by resolving an SRV record for `_matrix._tcp.`. This may + result in a hostname (to be resolved using AAAA or A records) and + port. Requests are made to the resolved IP address and port, with a `Host` + header of ``. The target server must present a valid certificate + for ``. 5. If the `/.well-known` request returned an error response, and the SRV record was not found, an IP address is resolved using CNAME, AAAA and A