Back out the last change which is probably actually a red herring. Argh!
This commit is contained in:
parent
c3258d9fdd
commit
fe0162ddb3
@ -871,10 +871,8 @@ channel_handle_rfd(Channel *c, fd_set * readset, fd_set * writeset)
|
||||
len = read(c->rfd, buf, sizeof(buf));
|
||||
if (len < 0 && (errno == EINTR || errno == EAGAIN))
|
||||
return 1;
|
||||
if (len == 0)
|
||||
return 1;
|
||||
if (len < 0) {
|
||||
debug("channel %d: read<0 rfd %d len %d",
|
||||
if (len <= 0) {
|
||||
debug("channel %d: read<=0 rfd %d len %d",
|
||||
c->self, c->rfd, len);
|
||||
if (c->type != SSH_CHANNEL_OPEN) {
|
||||
debug("channel %d: not open", c->self);
|
||||
|
Loading…
Reference in New Issue
Block a user