This commit is contained in:
Amber Brown 2018-09-14 03:09:13 +10:00
parent 6c0f8d9d50
commit 1c3f4d9ca5
1 changed files with 2 additions and 1 deletions

View File

@ -221,7 +221,8 @@ class MatrixFederationHttpClient(object):
headers=Headers(headers_dict), headers=Headers(headers_dict),
data=data, data=data,
agent=self.agent, agent=self.agent,
reactor=self.hs.get_reactor() reactor=self.hs.get_reactor(),
unbuffered=True
) )
request_deferred.addTimeout(_sec_timeout, self.hs.get_reactor()) request_deferred.addTimeout(_sec_timeout, self.hs.get_reactor())
response = yield make_deferred_yieldable( response = yield make_deferred_yieldable(