about summary refs log tree commit diff stats
path: root/tests/functionaltests/test_ping.c
diff options
context:
space:
mode:
authorSteffen Jaeckel <jaeckel-floss@eyet-services.de>2022-02-08 19:50:06 +0100
committerSteffen Jaeckel <jaeckel-floss@eyet-services.de>2022-02-08 19:52:13 +0100
commit7a2af5e3ad39eca44d0e6bed65609be6e23f086c (patch)
tree6c305a7e2ca892ad85533a258f7eaee61db283f7 /tests/functionaltests/test_ping.c
parentfb9182488302b27009edbf4b0e141ddad3651680 (diff)
downloadprofani-tty-7a2af5e3ad39eca44d0e6bed65609be6e23f086c.tar.gz
fix handling of connection errors
When a `see-other-host` stream-error is received we try to re-connect to
the other host. Erroneously this also started the `reconnect_timer`.
This lead to the behavior that in cases where e.g. the login failed
we try to reconnect instead of bailing out with an error.

This commit fixes the wrong behavior by not starting the `reconnect_timer`.

Fix 0e58509c161ae8409c9accabb9606e0c7006b880

Signed-off-by: Steffen Jaeckel <jaeckel-floss@eyet-services.de>
Diffstat (limited to 'tests/functionaltests/test_ping.c')
0 files changed, 0 insertions, 0 deletions