rssht icon indicating copy to clipboard operation
rssht copied to clipboard

Fast reconnection after being disconnected

Open Arkanosis opened this issue 10 years ago • 1 comments

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).

Arkanosis avatar Aug 23 '15 00:08 Arkanosis

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.

Arkanosis avatar Oct 28 '15 12:10 Arkanosis