Skip to content
Snippets Groups Projects
Unverified Commit 0b684b59 authored by Sean Quah's avatar Sean Quah Committed by GitHub
Browse files

Fix logging of incorrect status codes for disconnected requests (#12580)


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
f48792ee.
Broken for `respond_with_json_bytes` in
3e58ce72.
Broken for `respond_with_html_bytes` in
ea26e9a9.

Signed-off-by: default avatarSean Quah <seanq@element.io>
parent 629aa517
No related branches found
No related tags found
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment