Open Arkanosis opened 8 years ago
Even better: the -n
flag should accept a comma-separated list of delays for connection attempts.
For example -n 10,30,300
means that the second attempt happens after 10 seconds, the third after 30 seconds and subsequent attempts are separated with 300 seconds.
Add a new flag for the number of fast reconnection attempts (default… maybe 3 ?) that ignore the reconnection delay if the previous connection has been successful.
This is to avoid having to wait for minutes in case the connection has been lost for a few seconds only (this typically happens quite often when using a reverse SSH tunnel over a HTTP proxy).