summary refs log tree commit diff
path: root/synapse/config
diff options
context:
space:
mode:
authorErik Johnston <erik@matrix.org>2018-09-20 13:44:20 +0100
committerErik Johnston <erik@matrix.org>2018-09-20 13:44:20 +0100
commitb28a7ed5030148139af6c6c03e635b068a6eae15 (patch)
tree333d1af966f4dc154d94de214a8e967ca9bfbd8f /synapse/config
parentMerge pull request #3914 from matrix-org/erikj/remove_retry_cache (diff)
downloadsynapse-b28a7ed5030148139af6c6c03e635b068a6eae15.tar.xz
Fix spurious exceptions when client closes conncetion
If a HTTP handler throws an exception while processing a request we
automatically write a JSON error response. If the handler had already
started writing a response twisted throws an exception.

We should check for this case and simple abort the connection if there
was an error after the response had started being written.
Diffstat (limited to 'synapse/config')
0 files changed, 0 insertions, 0 deletions