[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [PATCH 1/2] channels: allow channel_open() to return SSH_AGAIN


On Monday 10 June 2013 04:40:45 Nicolas Viennot wrote:
> Signed-off-by: Nicolas Viennot <nicolas@xxxxxxxxxxx>
> ---
>  src/channels.c | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
> 
> diff --git a/src/channels.c b/src/channels.c
> index 6e9b2eb..902e04b 100644
> --- a/src/channels.c
> +++ b/src/channels.c
> @@ -314,7 +314,7 @@ static int channel_open(ssh_channel channel, const char
> *type_c, int window, pending:
>    /* wait until channel is opened by server */
>    err = ssh_handle_packets_termination(session, SSH_TIMEOUT_USER,
> ssh_channel_open_termination, channel); -  if (err != SSH_OK ||
> session->session_state == SSH_SESSION_STATE_ERROR) +  if
> (session->session_state == SSH_SESSION_STATE_ERROR)
>      err = SSH_ERROR;
>  end:
>    if(channel->state == SSH_CHANNEL_STATE_OPEN)

Aris can you please comment? I would like to add the patches to 0.5.5 and 
release is this or next week.

It looks fine for me.

	-- andreas

-- 
Andreas Schneider                   GPG-ID: F33E3FC6
www.cryptomilk.org                asn@xxxxxxxxxxxxxx


References:
[PATCH 1/2] channels: allow channel_open() to return SSH_AGAINNicolas Viennot <nicolas@xxxxxxxxxxx>
Archive administrator: postmaster@lists.cynapses.org