1
0
Fork 0
mirror of https://github.com/element-hq/synapse.git synced 2025-03-12 10:56:50 +00:00
synapse/changelog.d
Quentin Gliech b9276e21ee
Fix MSC4108 'rendez-vous' responses with some reverse proxy in the front of Synapse (#18178)
MSC4108 relies on ETag to determine if something has changed on the
rendez-vous channel.
Strong and correct ETag comparison works if the response body is
bit-for-bit identical, which isn't the case if a proxy in the middle
compresses the response on the fly.

This adds a `no-transform` directive to the `Cache-Control` header,
which tells proxies not to transform the response body.

Additionally, some proxies (nginx) will switch to `Transfer-Encoding:
chunked` if it doesn't know the Content-Length of the response, and
'weakening' the ETag if that's the case. I've added `Content-Length`
headers to all responses, to hopefully solve that.

This basically fixes QR-code login when nginx or cloudflare is involved,
with gzip/zstd/deflate compression enabled.
2025-02-25 11:34:33 +01:00
..
.gitignore Correct attrs package name in requirements (#3492) 2018-07-07 10:46:59 +10:00
17661.bugfix Make sure we advertise registration as disabled when MSC3861 is enabled (#17661) 2025-02-18 14:47:35 +00:00
18038.docker Speedup the building of Docker images (#18038) 2025-02-19 10:55:15 +00:00
18157.bugfix Prevent suspended users from sending encrypted messages (#18157) 2025-02-21 10:06:44 +00:00
18162.misc Document suspension Admin API (#18162) 2025-02-20 19:40:30 +01:00
18165.bugfix Cleanup deleted state group references (#18165) 2025-02-18 14:44:38 +00:00
18175.misc Disable room list publication by default (#18175) 2025-02-24 12:06:16 +00:00
18177.feature Add support for overriding id_token_signing_alg_values_supported for an OpenID identity provider (#18177) 2025-02-20 17:56:53 -06:00
18178.bugfix Fix MSC4108 'rendez-vous' responses with some reverse proxy in the front of Synapse (#18178) 2025-02-25 11:34:33 +01:00