Richard van der Hoff 31c15dcb80
Refactor matrixfederationclient to fix logging (#3906)
We want to wait until we have read the response body before we log the request
as complete, otherwise a confusing thing happens where the request appears to
have completed, but we later fail it.

To do this, we factor the salient details of a request out to a separate
object, which can then keep track of the txn_id, so that it can be logged.
2018-09-18 18:17:15 +01:00
..
2018-09-07 02:58:18 +10:00
2018-09-07 02:58:18 +10:00
2018-08-10 23:54:09 +10:00
2018-08-10 23:54:09 +10:00
2018-08-13 16:47:46 +10:00
2018-08-10 23:54:09 +10:00
2018-08-10 23:54:09 +10:00
2018-09-07 02:58:18 +10:00
2018-09-07 02:58:18 +10:00
2018-09-12 16:22:15 +01:00
2018-08-10 23:54:09 +10:00
2018-08-13 16:47:46 +10:00
2018-08-10 23:54:09 +10:00
2018-08-10 23:54:09 +10:00
2018-08-10 23:54:09 +10:00
2018-09-07 02:58:18 +10:00
2018-09-14 15:08:37 +01:00
2018-08-10 23:54:09 +10:00
2018-08-15 15:12:23 +01:00
2018-09-07 02:58:18 +10:00
2018-08-10 23:54:09 +10:00
2018-08-28 17:21:05 +01:00
2018-09-04 02:21:48 +10:00
2018-09-07 02:58:18 +10:00