MatrixSynapse/tests
Erik Johnston b970cb0e96 Refactor request sending to have better excpetions (#4358)
* Correctly retry and back off if we get a HTTPerror response

* Refactor request sending to have better excpetions

MatrixFederationHttpClient blindly reraised exceptions to the caller
without differentiating "expected" failures (e.g. connection timeouts
etc) versus more severe problems (e.g. programming errors).

This commit adds a RequestSendFailed exception that is raised when
"expected" failures happen, allowing the TransactionQueue to log them as
warnings while allowing us to log other exceptions as actual exceptions.
2019-01-08 11:04:28 +00:00
..
api create support user (#4141) 2018-12-14 18:20:59 +00:00
app
appservice
config
crypto
events
federation
handlers create support user (#4141) 2018-12-14 18:20:59 +00:00
http Refactor request sending to have better excpetions (#4358) 2019-01-08 11:04:28 +00:00
push
replication
rest Remove v1 only REST APIs now we don't ship matrix console (#4334) 2018-12-29 23:12:30 +11:00
scripts
server_notices
state
storage create support user (#4141) 2018-12-14 18:20:59 +00:00
util
__init__.py
patch_inline_callbacks.py
server.py Fix IP URL previews on Python 3 (#4215) 2018-12-22 01:56:13 +11:00
test_distributor.py
test_dns.py
test_event_auth.py
test_federation.py
test_mau.py
test_metrics.py Fix test_metrics.py compatibility prometheus_client 0.5 2018-12-21 01:53:57 +01:00
test_preview.py
test_server.py
test_state.py
test_terms_auth.py
test_test_utils.py
test_types.py
test_visibility.py
unittest.py create support user (#4141) 2018-12-14 18:20:59 +00:00
utils.py Return well_known in /login response (#4319) 2018-12-24 10:44:33 +01:00