-
- Downloads
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:Sean Quah <seanq@element.io>
Showing
- changelog.d/12580.bugfix 1 addition, 0 deletionschangelog.d/12580.bugfix
- synapse/http/server.py 9 additions, 3 deletionssynapse/http/server.py
- tests/handlers/test_cas.py 13 additions, 1 deletiontests/handlers/test_cas.py
- tests/handlers/test_saml.py 13 additions, 1 deletiontests/handlers/test_saml.py
Loading
Please register or sign in to comment