summary refs log tree commit diff
path: root/tests
diff options
context:
space:
mode:
authorMark Haines <mark.haines@matrix.org>2016-12-29 15:51:04 +0000
committerMark Haines <mark.haines@matrix.org>2016-12-29 15:51:04 +0000
commit97ffc5690b713b64556dc4d0993cf2a96f4477e8 (patch)
tree6c357cc676b07c401cb8c1191158a9af3bd9b264 /tests
parentRespect long_retries param and default to off (diff)
downloadsynapse-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 'tests')
0 files changed, 0 insertions, 0 deletions