anonymousland-synapse/synapse/http
Richard van der Hoff afcd655ab6 Use a producer to stream back responses
The problem with dumping all of the json response into the Request object at
once is that doing so starts the timeout for the next request to be received:
so if it takes longer than 60s to stream back the response to the client, the
client never gets it.

The correct solution is to use a Producer; then the timeout is only started
once all of the content is sent over the TCP connection.
2018-08-15 15:04:16 +01:00
..
__init__.py factor out uri redaction into a method on http 2018-06-05 18:31:40 +01:00
additional_resource.py run isort 2018-07-09 16:09:20 +10:00
client.py Rename async to async_helpers because async is a keyword on Python 3.7 (#3678) 2018-08-10 23:50:21 +10:00
endpoint.py Merge remote-tracking branch 'upstream/develop' into send_sni_for_federation_requests 2018-07-14 20:24:46 +02:00
matrixfederationclient.py Rename async to async_helpers because async is a keyword on Python 3.7 (#3678) 2018-08-10 23:50:21 +10:00
request_metrics.py pep8 2018-07-18 14:19:00 +01:00
server.py Use a producer to stream back responses 2018-08-15 15:04:16 +01:00
servlet.py Python 3: Convert some unicode/bytes uses (#3569) 2018-08-02 00:54:06 +10:00
site.py Refactor REST API tests to use explicit reactors (#3351) 2018-07-17 20:43:18 +10:00