mirror of
https://git.anonymousland.org/anonymousland/synapse.git
synced 2025-04-27 06:29:09 -04:00

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.