synapse-product/synapse/rest
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
..
client Add GET account data routes (#4303) 2019-01-07 10:27:54 +00:00
consent Neilj/fix autojoin (#4223) 2018-11-28 22:24:57 +11:00
key Remove deprecated v1 key exchange endpoint (#4119) 2018-10-31 22:29:02 +11:00
media Refactor request sending to have better excpetions (#4358) 2019-01-08 11:04:28 +00:00
saml2 Initialise user displayname from SAML2 data (#4272) 2018-12-07 14:44:46 +01:00
__init__.py Remove v1 only REST APIs now we don't ship matrix console (#4334) 2018-12-29 23:12:30 +11:00
well_known.py Implement .well-known handling (#4262) 2018-12-05 14:38:58 +01:00