[PATCH] Connect timeout
Damien Miller
djm at mindrot.org
Sun Jan 27 10:33:00 EST 2002
On Sat, 26 Jan 2002, Jean-Charles Longuet wrote:
> The attached patch adds a new 'ConnectTimeout' option (man page
> updated in patch) to avoid wasting time when the target host is
> down. I needed that because I was using rsync/rdist over ssh for
> massive files update and the default connect() took too long for my
> purpose.
I'd prefer to see a patch which sets the connect socket to nonblocking
and does a timed select() on it.
-d
More information about the openssh-unix-dev
mailing list