-
Notifications
You must be signed in to change notification settings - Fork 380
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Spec Host and SNI headers for federated calls (including the media repo) #1161
Comments
So I think the way this works is that you put the hostname you were intending to talk to in the Host header of the request. So, if you had looked up the SRV of matrix.org, you'd put The end result should look like this:
|
Ah, the impl specific variant of this is matrix-org/synapse#2525 |
…s are handled Fixes matrix-org#1161 The IP address clarification is to add an explicit mention of how to handle the case. The prior documentation assumed that all servers would be resolvable with DNS, and does technically have a fallback to use the fallback port, however making it clear feels like a good idea.
Signed-off-by: David Florness <david@florness.com>
It seems as though the
Host
should at least be set to the target server, with port(?). Eg:Host: matrix.org:8443
despite the SRV returningmatrix.org.cdn.cloudflare.net:8443
.The text was updated successfully, but these errors were encountered: