magic-wormhole-transit-relay/src/wormhole_transit_relay/test
Brian Warner 1a7faf0654 tolerate clients who disconnect before sending a complete handshake
If the client connected and then immediately disconnected, or disconnected
before sending enough of a handshake to be classified as good or bad, we
tried to record the usage record as if the connection was complete ("happy"),
which triggered an assertion. This dumps an error to the log and failed to
record the usage record. In May 2020, this happened 55 times in 40 days.
2020-05-21 22:49:14 -07:00
..
__init__.py move transit-relevant files out from magic-wormhole 2017-09-12 23:52:21 -07:00
common.py test_transit_server: improve coverage 2017-11-09 16:39:44 -08:00
test_config.py fix IPv4/IPv6 listening port 2019-09-11 00:23:50 -07:00
test_database.py DB: small cleanups, improve test coverage 2017-11-09 16:39:25 -08:00
test_rlimits.py copy increase_rlimits.py from magic-wormhole-mailbox-server 2018-02-19 12:26:10 -08:00
test_service.py more test coverage 2017-11-07 21:21:04 -06:00
test_stats.py test_stats: try more realistic fake time.time() 2018-02-19 13:23:40 -08:00
test_transit_server.py tolerate clients who disconnect before sending a complete handshake 2020-05-21 22:49:14 -07:00