mirror of
https://mau.dev/maunium/synapse.git
synced 2024-12-15 07:13:49 +01:00
e182dbb5b9
Twisted trunk makes a change to the `TLSMemoryBIOFactory` where
the underlying protocol is changed from `TLSMemoryBIOProtocol` to
`BufferingTLSTransport` to improve performance of TLS code (see
https://github.com/twisted/twisted/issues/11989).
In order to properly hook this code up in tests we need to pass the test
reactor's clock into `TLSMemoryBIOFactory` to avoid the global (trial)
reactor being used by default.
Twisted does something similar internally for tests:
|
||
---|---|---|
.. | ||
federation | ||
server | ||
__init__.py | ||
ca.crt | ||
ca.key | ||
server.key | ||
test_additional_resource.py | ||
test_client.py | ||
test_endpoint.py | ||
test_matrixfederationclient.py | ||
test_proxy.py | ||
test_proxyagent.py | ||
test_servlet.py | ||
test_simple_client.py | ||
test_site.py |