mirror of
https://git.anonymousland.org/anonymousland/synapse.git
synced 2024-10-01 11:49:51 -04:00
0b684b59e5
The status code of requests must always be set, regardless of client disconnection, otherwise they will always be logged as 200!. Broken for `respond_with_json` inf48792eec4
. Broken for `respond_with_json_bytes` in3e58ce72b4
. Broken for `respond_with_html_bytes` inea26e9a98b
. Signed-off-by: Sean Quah <seanq@element.io>
2 lines
189 B
Plaintext
2 lines
189 B
Plaintext
Fix a long standing bug where status codes would almost always get logged as 200!, irrespective of the actual status code, when clients disconnect before a request has finished processing.
|