Remove mention of default port with SRV records (#1615)

pull/1621/head
Richard van der Hoff 1 year ago committed by GitHub
parent f5035b8e02
commit 05ca6c7392
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -0,0 +1 @@
Remove spurious mention of a "default port" with respect to SRV record lookup.

@ -110,7 +110,7 @@ to send. The process overall is as follows:
given. The target server must present a valid certificate for the IP given. The target server must present a valid certificate for the IP
address. The `Host` header in the request should be set to the address. The `Host` header in the request should be set to the
server name, including the port if the server name included one. 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 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 explicit port, resolve the hostname to an IP address using CNAME, AAAA or A
records. records.
@ -162,13 +162,12 @@ to send. The process overall is as follows:
`<delegated_hostname>`. The target server must present a valid `<delegated_hostname>`. The target server must present a valid
certificate for `<delegated_hostname>`. certificate for `<delegated_hostname>`.
4. If the `/.well-known` request resulted in an error response, a 4. If the `/.well-known` request resulted in an error response, a server is
server is found by resolving an SRV record for found by resolving an SRV record for `_matrix._tcp.<hostname>`. This may
`_matrix._tcp.<hostname>`. This may result in a hostname (to be result in a hostname (to be resolved using AAAA or A records) and
resolved using AAAA or A records) and port. Requests are made to the port. Requests are made to the resolved IP address and port, with a `Host`
resolved IP address and port, using 8448 as a default port, with a header of `<hostname>`. The target server must present a valid certificate
`Host` header of `<hostname>`. The target server must present a for `<hostname>`.
valid certificate for `<hostname>`.
5. If the `/.well-known` request returned an error response, and the 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 SRV record was not found, an IP address is resolved using CNAME, AAAA and A

Loading…
Cancel
Save