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

Re: Return SSH_EOF in ssh_channel_read_timeout


On Tuesday, 10 May 2016 14:57:52 CEST Игорь Коваленко wrote:
> Hi!
> there are such lines in function ssh_channel_read_timeout :
> ...
> if (channel->remote_eof && buffer_get_rest_len(stdbuf) == 0) {
>     return 0;
> }
> It seems in such a case there should be a return of SSH_EOF value.
> Is it so or I'm missing something?

Hi,

this looks correct. Could you please send a patch as 'git format-patch' with 
you Signed-Off?

See SubmittingPatches in the git tree.


Thanks,


	-- andreas


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

References:
Return SSH_EOF in ssh_channel_read_timeoutИгорь Коваленко <igor.a.kovalenko@xxxxxxxxx>
Archive administrator: postmaster@lists.cynapses.org