Changes in channel_connect_to

chris rapier rapier at psc.edu
Sat Jul 12 09:54:36 EST 2008


Damien Miller wrote:

> Most of the changes are in the connect_to(). Much of its logic has 
> been remvoed to connect_next() to support fallback to trying additional
> addresses when the initial connect fails. 
> 
> To support this, connect_to fills in the channel->connect_ctx with
> the addresses of the host that it is trying to connect to. On a
> connect error, channel_post_connecting() can call connect_next() with
> this structure to pick the next address to try rather than just failing.

Thanks for the insight! I noticed that channel_new got moved into 
connect_to. It does make sense for it to be there but man, you just made 
my job more difficult ;)





More information about the openssh-unix-dev mailing list