[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Return SSH_EOF in ssh_channel_read_timeout
[Thread Prev] | [Thread Next]
- Subject: Re: Return SSH_EOF in ssh_channel_read_timeout
- From: Andreas Schneider <asn@xxxxxxxxxxxxxx>
- Reply-to: libssh@xxxxxxxxxx
- Date: Wed, 18 May 2016 18:54:14 +0200
- To: libssh@xxxxxxxxxx
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
Return SSH_EOF in ssh_channel_read_timeout | Игорь Коваленко <igor.a.kovalenko@xxxxxxxxx> |