diff options
author | Erik Johnston <erik@matrix.org> | 2018-09-20 13:44:20 +0100 |
---|---|---|
committer | Erik Johnston <erik@matrix.org> | 2018-09-20 13:44:20 +0100 |
commit | b28a7ed5030148139af6c6c03e635b068a6eae15 (patch) | |
tree | 333d1af966f4dc154d94de214a8e967ca9bfbd8f /jenkins-flake8.sh | |
parent | Merge pull request #3914 from matrix-org/erikj/remove_retry_cache (diff) | |
download | synapse-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 'jenkins-flake8.sh')
0 files changed, 0 insertions, 0 deletions