diff options
author | Mark Haines <mark.haines@matrix.org> | 2016-12-29 15:51:04 +0000 |
---|---|---|
committer | Mark Haines <mark.haines@matrix.org> | 2016-12-29 15:51:04 +0000 |
commit | 97ffc5690b713b64556dc4d0993cf2a96f4477e8 (patch) | |
tree | 6c357cc676b07c401cb8c1191158a9af3bd9b264 /synapse/http/matrixfederationclient.py | |
parent | Respect long_retries param and default to off (diff) | |
download | synapse-97ffc5690b713b64556dc4d0993cf2a96f4477e8.tar.xz |
Manually abort the underlying TLS connection.
The abort() method calls loseConnection() which tries to shutdown the TLS connection cleanly. We now call abortConnection() directly which should promptly close both the TLS connection and the underlying TCP connection. I also added some TODO markers to consider cancelling the old previous timeout rather than checking time.time(). But given how urgently we want to get this code released I'd rather leave the existing code with the duplicate timeouts and the time.time() check.
Diffstat (limited to 'synapse/http/matrixfederationclient.py')
0 files changed, 0 insertions, 0 deletions