summary refs log tree commit diff
path: root/changelog.d
diff options
context:
space:
mode:
authorRichard van der Hoff <1389908+richvdh@users.noreply.github.com>2021-06-17 16:23:11 +0100
committerGitHub <noreply@github.com>2021-06-17 16:23:11 +0100
commitfcf3c7032b96ab454120f86f3f070160c409d599 (patch)
tree0f22841971c633ca14753116ecc07d0fbf8713db /changelog.d
parentRip out the DNS lookup limiter (#10190) (diff)
downloadsynapse-fcf3c7032b96ab454120f86f3f070160c409d599.tar.xz
Ensure that we do not cache empty sync responses after a timeout (#10158)
Fixes #8518 by telling the ResponseCache not to cache the /sync response if the next_batch param is the same as the since token.
Diffstat (limited to 'changelog.d')
-rw-r--r--changelog.d/10157.bugfix1
-rw-r--r--changelog.d/10157.misc1
-rw-r--r--changelog.d/10158.bugfix1
3 files changed, 2 insertions, 1 deletions
diff --git a/changelog.d/10157.bugfix b/changelog.d/10157.bugfix
new file mode 100644
index 0000000000..6eaaa05b80
--- /dev/null
+++ b/changelog.d/10157.bugfix
@@ -0,0 +1 @@
+Fix a bug introduced in v1.21.0 which could cause `/sync` to return immediately with an empty response.
diff --git a/changelog.d/10157.misc b/changelog.d/10157.misc
deleted file mode 100644
index 6c1d0e6e59..0000000000
--- a/changelog.d/10157.misc
+++ /dev/null
@@ -1 +0,0 @@
-Extend `ResponseCache` to pass a context object into the callback.
diff --git a/changelog.d/10158.bugfix b/changelog.d/10158.bugfix
new file mode 100644
index 0000000000..6eaaa05b80
--- /dev/null
+++ b/changelog.d/10158.bugfix
@@ -0,0 +1 @@
+Fix a bug introduced in v1.21.0 which could cause `/sync` to return immediately with an empty response.