[patch] VPN enhancements
Markus Friedl
Markus.Friedl at informatik.uni-erlangen.de
Sun Jul 22 22:37:19 EST 2001
On Sun, Jul 22, 2001 at 12:56:38PM +0100, Matthew Vernon wrote:
> +void alarm_catch (int signum)
> +{
> + if(signum!=SIGALRM) return;
> + else fatal("ssh_exchange_identification: Timeout waiting for version information.");
> +}
please not alarm() and signal handling.
signals should not be used at all.
connect timeouts will be supported soon using select()
and async connects().
More information about the openssh-unix-dev
mailing list