mirror of
https://git.anonymousland.org/anonymousland/synapse.git
synced 2024-10-01 11:49:51 -04:00
eaaa2248ff
This commit moves a bunch of the logic for deciding when to log the receipt and completion of HTTP requests into SynapseRequest, rather than in the request handling wrappers. Advantages of this are: * we get logs for *all* requests (including OPTIONS and HEADs), rather than just those that end up hitting handlers we've remembered to decorate correctly. * when a request handler wires up a Producer (as the media stuff does currently, and as other things will do soon), we log at the point that all of the traffic has been sent to the client. |
||
---|---|---|
.. | ||
__init__.py | ||
additional_resource.py | ||
client.py | ||
endpoint.py | ||
matrixfederationclient.py | ||
request_metrics.py | ||
server.py | ||
servlet.py | ||
site.py |