summary refs log tree commit diff
path: root/synapse/_scripts (unfollow)
Commit message (Collapse)AuthorFilesLines
2022-04-28Fix logging of incorrect status codes for disconnected requests (#12580)Sean Quah4-5/+36
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` in f48792eec43f893f4f893ffdcbf00f8958b6f6b5. Broken for `respond_with_json_bytes` in 3e58ce72b42f2ae473c1e76a967548cd6fa7e2e6. Broken for `respond_with_html_bytes` in ea26e9a98b0541fc886a1cb826a38352b7599dbe. Signed-off-by: Sean Quah <seanq@element.io>